Interface CmkSecretConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CmkSecretConfig.Builder,,CmkSecretConfig> SdkBuilder<CmkSecretConfig.Builder,,CmkSecretConfig> SdkPojo
- Enclosing class:
CmkSecretConfig
@Mutable
@NotThreadSafe
public static interface CmkSecretConfig.Builder
extends SdkPojo, CopyableBuilder<CmkSecretConfig.Builder,CmkSecretConfig>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored forSecretArn.Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location.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
-
secretArn
Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for
KmsKeyArn.- Parameters:
secretArn- Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify forKmsKeyArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for
SecretArn. DataSync provides this key to Secrets Manager.- Parameters:
kmsKeyArn- Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored forSecretArn. DataSync provides this key to Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-