@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()
The ARN or name of the secret to retrieve.
|
static Class<? extends GetSecretValueRequest.Builder> |
serializableBuilderClass() |
GetSecretValueRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
The unique identifier of the version of the secret to retrieve.
|
String |
versionStage()
The staging label of the version of the secret to retrieve.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String secretId()
The ARN or name of the secret to retrieve.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
public final String versionId()
The unique identifier of the version of the secret to retrieve. If you include 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 Secrets Manager returns the AWSCURRENT
version.
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 Secrets Manager returns the
AWSCURRENT version.
This value is typically a UUID-type value with 32 hexadecimal digits.
public final String versionStage()
The staging label of the version of the secret to retrieve.
Secrets Manager uses staging labels to keep track of different versions during the rotation process. If you
include 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, Secrets Manager returns the
AWSCURRENT version.
Secrets Manager uses staging labels to keep track of different versions during the rotation process. If
you include 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,
Secrets Manager returns the AWSCURRENT version.
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 © 2023. All rights reserved.