Class ListKeysRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.keymanagement.requests.ListKeysRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: release") public class ListKeysRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/keymanagement/ListKeysExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListKeysRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classListKeysRequest.AlgorithmThe algorithm used by a key’s key versions to encrypt or decrypt data.static classListKeysRequest.Builderstatic classListKeysRequest.CurveIdThe curve ID of the keys.static classListKeysRequest.ProtectionModeA key’s protection mode indicates how the key persists and where cryptographic operations that use the key are performed.static classListKeysRequest.SortByThe field to sort by.static classListKeysRequest.SortOrderThe sort order to use, either ascending (ASC) or descending (DESC).
 - 
Constructor SummaryConstructors Constructor Description ListKeysRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListKeysRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.ListKeysRequest.AlgorithmgetAlgorithm()The algorithm used by a key’s key versions to encrypt or decrypt data.StringgetCompartmentId()The OCID of the compartment.ListKeysRequest.CurveIdgetCurveId()The curve ID of the keys.IntegergetLength()The length of the key in bytes, expressed as an integer.IntegergetLimit()The maximum number of items to return in a paginated “List” call.StringgetOpcRequestId()Unique identifier for the request.StringgetPage()The value of the opc-next-page response header from the previous “List” call.ListKeysRequest.ProtectionModegetProtectionMode()A key’s protection mode indicates how the key persists and where cryptographic operations that use the key are performed.ListKeysRequest.SortBygetSortBy()The field to sort by.ListKeysRequest.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListKeysRequest.BuildertoBuilder()Return an instance ofListKeysRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment.
 - 
getLimitpublic Integer getLimit() The maximum number of items to return in a paginated “List” call.
 - 
getPagepublic String getPage() The value of the opc-next-page response header from the previous “List” call.
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service. 
 - 
getSortBypublic ListKeysRequest.SortBy getSortBy() The field to sort by.You can specify only one sort order. The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. 
 - 
getSortOrderpublic ListKeysRequest.SortOrder getSortOrder() The sort order to use, either ascending (ASC) or descending (DESC).
 - 
getProtectionModepublic ListKeysRequest.ProtectionMode getProtectionMode() A key’s protection mode indicates how the key persists and where cryptographic operations that use the key are performed.A protection mode of HSM means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of SOFTWARE means that the key persists on the server, protected by the vault’s RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of SOFTWARE are performed on the server. A protection mode of EXTERNAL mean that the key persists on the customer’s external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of EXTERNAL are performed by external key manager. 
 - 
getAlgorithmpublic ListKeysRequest.Algorithm getAlgorithm() The algorithm used by a key’s key versions to encrypt or decrypt data.Currently, support includes AES, RSA, and ECDSA algorithms. 
 - 
getLengthpublic Integer getLength() The length of the key in bytes, expressed as an integer.Supported values include 16, 24, or 32. 
 - 
getCurveIdpublic ListKeysRequest.CurveId getCurveId() The curve ID of the keys.(This pertains only to ECDSA keys.) 
 - 
toBuilderpublic ListKeysRequest.Builder toBuilder() Return an instance ofListKeysRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ListKeysRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ListKeysRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-