Interface WorkspaceEncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceEncryptionConfiguration.Builder,,WorkspaceEncryptionConfiguration> SdkBuilder<WorkspaceEncryptionConfiguration.Builder,,WorkspaceEncryptionConfiguration> SdkPojo
- Enclosing class:
WorkspaceEncryptionConfiguration
@Mutable
@NotThreadSafe
public static interface WorkspaceEncryptionConfiguration.Builder
extends SdkPojo, CopyableBuilder<WorkspaceEncryptionConfiguration.Builder,WorkspaceEncryptionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionType(String encryptionType) The encryption scheme for the workspace.encryptionType(EncryptionType encryptionType) The encryption scheme for the workspace.The customer managed KMS key used whenencryptionTypeisKMS_BASED_ENCRYPTION.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
-
encryptionType
The encryption scheme for the workspace.
SITEWISE_DEFAULT_ENCRYPTIONencrypts data with the IoT SiteWise default key.KMS_BASED_ENCRYPTIONencrypts data with the customer managed KMS key identified bykmsKeyId.- Parameters:
encryptionType- The encryption scheme for the workspace.SITEWISE_DEFAULT_ENCRYPTIONencrypts data with the IoT SiteWise default key.KMS_BASED_ENCRYPTIONencrypts data with the customer managed KMS key identified bykmsKeyId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionType
The encryption scheme for the workspace.
SITEWISE_DEFAULT_ENCRYPTIONencrypts data with the IoT SiteWise default key.KMS_BASED_ENCRYPTIONencrypts data with the customer managed KMS key identified bykmsKeyId.- Parameters:
encryptionType- The encryption scheme for the workspace.SITEWISE_DEFAULT_ENCRYPTIONencrypts data with the IoT SiteWise default key.KMS_BASED_ENCRYPTIONencrypts data with the customer managed KMS key identified bykmsKeyId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The customer managed KMS key used when
encryptionTypeisKMS_BASED_ENCRYPTION. Accepts a key ID, key ARN, or key alias. Required forKMS_BASED_ENCRYPTION; must be omitted forSITEWISE_DEFAULT_ENCRYPTION. After a workspace's customer managed key configuration becomes active, the key can't be changed.- Parameters:
kmsKeyId- The customer managed KMS key used whenencryptionTypeisKMS_BASED_ENCRYPTION. Accepts a key ID, key ARN, or key alias. Required forKMS_BASED_ENCRYPTION; must be omitted forSITEWISE_DEFAULT_ENCRYPTION. After a workspace's customer managed key configuration becomes active, the key can't be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-