Interface PutEncryptionConfigRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>, SdkBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>, SdkPojo, SdkRequest.Builder, XRayRequest.Builder
Enclosing class:
PutEncryptionConfigRequest

public static interface PutEncryptionConfigRequest.Builder extends XRayRequest.Builder, SdkPojo, CopyableBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>
  • Method Details

    • 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 Type to NONE.

      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 Type to NONE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

      Parameters:
      type - The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

      Parameters:
      type - The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      PutEncryptionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.