Interface SecretReference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecretReference.Builder,,SecretReference> SdkBuilder<SecretReference.Builder,,SecretReference> SdkPojo
- Enclosing class:
SecretReference
@Mutable
@NotThreadSafe
public static interface SecretReference.Builder
extends SdkPojo, CopyableBuilder<SecretReference.Builder,SecretReference>
-
Method Summary
Modifier and TypeMethodDescriptionKey to read from the secret's JSON payload.Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
secretId
Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.
- Parameters:
secretId- Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jsonKey
Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.
- Parameters:
jsonKey- Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-