@Generated(value="software.amazon.awssdk:codegen") public final class GetSecretValueRequest extends SecretsManagerRequest implements ToCopyableBuilder<GetSecretValueRequest.Builder,GetSecretValueRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSecretValueRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetSecretValueRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretId()
Specifies the secret containing the version that you want to retrieve.
|
static Class<? extends GetSecretValueRequest.Builder> |
serializableBuilderClass() |
GetSecretValueRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
Specifies the unique identifier of the version of the secret that you want to retrieve.
|
String |
versionStage()
Specifies the secret version that you want to retrieve by the staging label attached to the version.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String secretId()
Specifies the secret containing the version that you want to retrieve. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
public final String versionId()
Specifies the unique identifier of the version of the secret that you want to retrieve. If you specify both this
parameter and VersionStage, the two parameters must refer to the same secret version. If you don't
specify either a VersionStage or VersionId then the default is to perform the operation
on the version with the VersionStage value of AWSCURRENT.
This value is typically a UUID-type value with 32 hexadecimal digits.
VersionStage, the two parameters must refer to the same secret
version. If you don't specify either a VersionStage or VersionId then the
default is to perform the operation on the version with the VersionStage value of
AWSCURRENT.
This value is typically a UUID-type value with 32 hexadecimal digits.
public final String versionStage()
Specifies the secret version that you want to retrieve by the staging label attached to the version.
Staging labels are used to keep track of different versions during the rotation process. If you specify both this
parameter and VersionId, the two parameters must refer to the same secret version . If you don't
specify either a VersionStage or VersionId, then the default is to perform the
operation on the version with the VersionStage value of AWSCURRENT.
Staging labels are used to keep track of different versions during the rotation process. If you specify
both this parameter and VersionId, the two parameters must refer to the same secret version
. If you don't specify either a VersionStage or VersionId, then the default is
to perform the operation on the version with the VersionStage value of
AWSCURRENT.
public GetSecretValueRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSecretValueRequest.Builder,GetSecretValueRequest>toBuilder in class SecretsManagerRequestpublic static GetSecretValueRequest.Builder builder()
public static Class<? extends GetSecretValueRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.