Interface PutEncryptionConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>,SdkBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>,SdkPojo,SdkRequest.Builder,XRayRequest.Builder
- Enclosing class:
- PutEncryptionConfigRequest
@Mutable @NotThreadSafe public static interface PutEncryptionConfigRequest.Builder extends XRayRequest.Builder, SdkPojo, CopyableBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutEncryptionConfigRequest.BuilderkeyId(String keyId)An Amazon Web Services KMS key in one of the following formats:PutEncryptionConfigRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutEncryptionConfigRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutEncryptionConfigRequest.Buildertype(String type)The type of encryption.PutEncryptionConfigRequest.Buildertype(EncryptionType type)The type of encryption.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayRequest.Builder
build
-
-
-
-
Method Detail
-
keyId
PutEncryptionConfigRequest.Builder keyId(String keyId)
An Amazon Web Services KMS key in one of the following formats:
-
Alias - The name of the key. For example,
alias/MyKey. -
Key ID - The KMS key ID of the key. For example,
ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Amazon Web Services X-Ray does not support asymmetric KMS keys. -
ARN - The full Amazon Resource Name of the key ID or alias. For example,
arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Use this format to specify a key in a different account.
Omit this key if you set
TypetoNONE.- Parameters:
keyId- An Amazon Web Services KMS key in one of the following formats:-
Alias - The name of the key. For example,
alias/MyKey. -
Key ID - The KMS key ID of the key. For example,
ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Amazon Web Services X-Ray does not support asymmetric KMS keys. -
ARN - The full Amazon Resource Name of the key ID or alias. For example,
arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Use this format to specify a key in a different account.
Omit this key if you set
TypetoNONE.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
type
PutEncryptionConfigRequest.Builder type(String type)
The type of encryption. Set to
KMSto use your own key for encryption. Set toNONEfor default encryption.- Parameters:
type- The type of encryption. Set toKMSto use your own key for encryption. Set toNONEfor default encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
type
PutEncryptionConfigRequest.Builder type(EncryptionType type)
The type of encryption. Set to
KMSto use your own key for encryption. Set toNONEfor default encryption.- Parameters:
type- The type of encryption. Set toKMSto use your own key for encryption. Set toNONEfor default encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
overrideConfiguration
PutEncryptionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutEncryptionConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-