Package com.oracle.bmc.secrets.requests
Class GetSecretBundleByNameRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.secrets.requests.GetSecretBundleByNameRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190301") public class GetSecretBundleByNameRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/secrets/GetSecretBundleByNameExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetSecretBundleByNameRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetSecretBundleByNameRequest.Builder
static class
GetSecretBundleByNameRequest.Stage
The rotation state of the secret version.
-
Constructor Summary
Constructors Constructor Description GetSecretBundleByNameRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSecretBundleByNameRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getOpcRequestId()
Unique identifier for the request.String
getSecretName()
A user-friendly name for the secret.String
getSecretVersionName()
The name of the secret.GetSecretBundleByNameRequest.Stage
getStage()
The rotation state of the secret version.String
getVaultId()
The OCID of the vault that contains the secret.Long
getVersionNumber()
The version number of the secret.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetSecretBundleByNameRequest.Builder
toBuilder()
Return an instance ofGetSecretBundleByNameRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getSecretName
public String getSecretName()
A user-friendly name for the secret.Secret names are unique within a vault. Secret names are case-sensitive.
-
getVaultId
public String getVaultId()
The OCID of the vault that contains the secret.
-
getOpcRequestId
public String getOpcRequestId()
Unique identifier for the request.
-
getVersionNumber
public Long getVersionNumber()
The version number of the secret.
-
getSecretVersionName
public String getSecretVersionName()
The name of the secret.(This might be referred to as the name of the secret version. Names are unique across the different versions of a secret.)
-
getStage
public GetSecretBundleByNameRequest.Stage getStage()
The rotation state of the secret version.
-
toBuilder
public GetSecretBundleByNameRequest.Builder toBuilder()
Return an instance ofGetSecretBundleByNameRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetSecretBundleByNameRequest.Builder
that allows you to modify request properties.
-
builder
public static GetSecretBundleByNameRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-