Interface SecretValueEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecretValueEntry.Builder,SecretValueEntry>,SdkBuilder<SecretValueEntry.Builder,SecretValueEntry>,SdkPojo
- Enclosing class:
- SecretValueEntry
@Mutable @NotThreadSafe public static interface SecretValueEntry.Builder extends SdkPojo, CopyableBuilder<SecretValueEntry.Builder,SecretValueEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecretValueEntry.Builderarn(String arn)The Amazon Resource Name (ARN) of the secret.SecretValueEntry.BuildercreatedDate(Instant createdDate)The date the secret was created.SecretValueEntry.Buildername(String name)The friendly name of the secret.SecretValueEntry.BuildersecretBinary(SdkBytes secretBinary)The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array.SecretValueEntry.BuildersecretString(String secretString)The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.SecretValueEntry.BuilderversionId(String versionId)The unique version identifier of this version of the secret.SecretValueEntry.BuilderversionStages(String... versionStages)A list of all of the staging labels currently attached to this version of the secret.SecretValueEntry.BuilderversionStages(Collection<String> versionStages)A list of all of the staging labels currently attached to this version of the secret.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
SecretValueEntry.Builder arn(String arn)
The Amazon Resource Name (ARN) of the secret.
- Parameters:
arn- The Amazon Resource Name (ARN) of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
SecretValueEntry.Builder name(String name)
The friendly name of the secret.
- Parameters:
name- The friendly name of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
SecretValueEntry.Builder versionId(String versionId)
The unique version identifier of this version of the secret.
- Parameters:
versionId- The unique version identifier of this version of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretBinary
SecretValueEntry.Builder secretBinary(SdkBytes secretBinary)
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
- Parameters:
secretBinary- The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretString
SecretValueEntry.Builder secretString(String secretString)
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
- Parameters:
secretString- The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionStages
SecretValueEntry.Builder versionStages(Collection<String> versionStages)
A list of all of the staging labels currently attached to this version of the secret.
- Parameters:
versionStages- A list of all of the staging labels currently attached to this version of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionStages
SecretValueEntry.Builder versionStages(String... versionStages)
A list of all of the staging labels currently attached to this version of the secret.
- Parameters:
versionStages- A list of all of the staging labels currently attached to this version of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
SecretValueEntry.Builder createdDate(Instant createdDate)
The date the secret was created.
- Parameters:
createdDate- The date the secret was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-