Interface DescribeEncryptionConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEncryptionConfigurationResponse.Builder,
,DescribeEncryptionConfigurationResponse> IotResponse.Builder
,SdkBuilder<DescribeEncryptionConfigurationResponse.Builder,
,DescribeEncryptionConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEncryptionConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationDetails
(Consumer<ConfigurationDetails.Builder> configurationDetails) The encryption configuration details that include the status information of the KMS key and the KMS access role.configurationDetails
(ConfigurationDetails configurationDetails) The encryption configuration details that include the status information of the KMS key and the KMS access role.encryptionType
(String encryptionType) The type of the Amazon Web Services Key Management Service (KMS) key.encryptionType
(EncryptionType encryptionType) The type of the Amazon Web Services Key Management Service (KMS) key.kmsAccessRoleArn
(String kmsAccessRoleArn) The ARN of the customer-managed KMS key.The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web Services IoT Core to call KMS on behalf of the customer.lastModifiedDate
(Instant lastModifiedDate) The date when encryption configuration is last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
encryptionType
The type of the Amazon Web Services Key Management Service (KMS) key.
- Parameters:
encryptionType
- The type of the Amazon Web Services Key Management Service (KMS) key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionType
The type of the Amazon Web Services Key Management Service (KMS) key.
- Parameters:
encryptionType
- The type of the Amazon Web Services Key Management Service (KMS) key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web Services IoT Core to call KMS on behalf of the customer.
- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of the IAM role assumed by Amazon Web Services IoT Core to call KMS on behalf of the customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsAccessRoleArn
The ARN of the customer-managed KMS key.
- Parameters:
kmsAccessRoleArn
- The ARN of the customer-managed KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationDetails
DescribeEncryptionConfigurationResponse.Builder configurationDetails(ConfigurationDetails configurationDetails) The encryption configuration details that include the status information of the KMS key and the KMS access role.
- Parameters:
configurationDetails
- The encryption configuration details that include the status information of the KMS key and the KMS access role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationDetails
default DescribeEncryptionConfigurationResponse.Builder configurationDetails(Consumer<ConfigurationDetails.Builder> configurationDetails) The encryption configuration details that include the status information of the KMS key and the KMS access role.
This is a convenience method that creates an instance of theConfigurationDetails.Builder
avoiding the need to create one manually viaConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationDetails(ConfigurationDetails)
.- Parameters:
configurationDetails
- a consumer that will call methods onConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedDate
The date when encryption configuration is last updated.
- Parameters:
lastModifiedDate
- The date when encryption configuration is last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-