Interface SSESpecification.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SSESpecification.Builder,SSESpecification>
,SdkBuilder<SSESpecification.Builder,SSESpecification>
,SdkPojo
- Enclosing class:
- SSESpecification
public static interface SSESpecification.Builder extends SdkPojo, CopyableBuilder<SSESpecification.Builder,SSESpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSESpecification.Builder
enabled(Boolean enabled)
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key.SSESpecification.Builder
kmsMasterKeyId(String kmsMasterKeyId)
The KMS key that should be used for the KMS encryption.SSESpecification.Builder
sseType(String sseType)
Server-side encryption type.SSESpecification.Builder
sseType(SSEType sseType)
Server-side encryption type.-
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, sdkFields
-
-
-
-
Method Detail
-
enabled
SSESpecification.Builder enabled(Boolean enabled)
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to
KMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.- Parameters:
enabled
- Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set toKMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseType
SSESpecification.Builder sseType(String sseType)
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
- Parameters:
sseType
- Server-side encryption type. The only supported value is:-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SSEType
,SSEType
-
-
sseType
SSESpecification.Builder sseType(SSEType sseType)
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
- Parameters:
sseType
- Server-side encryption type. The only supported value is:-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SSEType
,SSEType
-
-
kmsMasterKeyId
SSESpecification.Builder kmsMasterKeyId(String kmsMasterKeyId)
The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key
alias/aws/dynamodb
.- Parameters:
kmsMasterKeyId
- The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB keyalias/aws/dynamodb
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-