Interface PutDefaultEncryptionConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutDefaultEncryptionConfigurationResponse.Builder,
,PutDefaultEncryptionConfigurationResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<PutDefaultEncryptionConfigurationResponse.Builder,
,PutDefaultEncryptionConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutDefaultEncryptionConfigurationResponse
public static interface PutDefaultEncryptionConfigurationResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<PutDefaultEncryptionConfigurationResponse.Builder,PutDefaultEncryptionConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationStatus
(Consumer<ConfigurationStatus.Builder> configurationStatus) The status of the account configuration.configurationStatus
(ConfigurationStatus configurationStatus) The status of the account configuration.encryptionType
(String encryptionType) The type of encryption used for the encryption configuration.encryptionType
(EncryptionType encryptionType) The type of encryption used for the encryption configuration.The Key ARN of the KMS key used for KMS encryption if you useKMS_BASED_ENCRYPTION
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
encryptionType
The type of encryption used for the encryption configuration.
- Parameters:
encryptionType
- The type of encryption used for the encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionType
The type of encryption used for the encryption configuration.
- Parameters:
encryptionType
- The type of encryption used for the encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The Key ARN of the KMS key used for KMS encryption if you use
KMS_BASED_ENCRYPTION
.- Parameters:
kmsKeyArn
- The Key ARN of the KMS key used for KMS encryption if you useKMS_BASED_ENCRYPTION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationStatus
PutDefaultEncryptionConfigurationResponse.Builder configurationStatus(ConfigurationStatus configurationStatus) The status of the account configuration. This contains the
ConfigurationState
. If there is an error, it also contains theErrorDetails
.- Parameters:
configurationStatus
- The status of the account configuration. This contains theConfigurationState
. If there is an error, it also contains theErrorDetails
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationStatus
default PutDefaultEncryptionConfigurationResponse.Builder configurationStatus(Consumer<ConfigurationStatus.Builder> configurationStatus) The status of the account configuration. This contains the
This is a convenience method that creates an instance of theConfigurationState
. If there is an error, it also contains theErrorDetails
.ConfigurationStatus.Builder
avoiding the need to create one manually viaConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationStatus(ConfigurationStatus)
.- Parameters:
configurationStatus
- a consumer that will call methods onConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-