Interface DescribeDefaultEncryptionConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDefaultEncryptionConfigurationResponse.Builder,
,DescribeDefaultEncryptionConfigurationResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeDefaultEncryptionConfigurationResponse.Builder,
,DescribeDefaultEncryptionConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDefaultEncryptionConfigurationResponse
public static interface DescribeDefaultEncryptionConfigurationResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeDefaultEncryptionConfigurationResponse.Builder,DescribeDefaultEncryptionConfigurationResponse>
-
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 customer managed 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
DescribeDefaultEncryptionConfigurationResponse.Builder encryptionType(EncryptionType 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 customer managed key used for KMS encryption if you use
KMS_BASED_ENCRYPTION
.- Parameters:
kmsKeyArn
- The key ARN of the customer managed 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
DescribeDefaultEncryptionConfigurationResponse.Builder configurationStatus(ConfigurationStatus configurationStatus) The status of the account configuration. This contains the
ConfigurationState
. If there's an error, it also contains theErrorDetails
.- Parameters:
configurationStatus
- The status of the account configuration. This contains theConfigurationState
. If there's an error, it also contains theErrorDetails
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationStatus
default DescribeDefaultEncryptionConfigurationResponse.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's 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:
-