Interface DescribeEncryptionConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEncryptionConfigurationResponse.Builder,DescribeEncryptionConfigurationResponse>,IotResponse.Builder,SdkBuilder<DescribeEncryptionConfigurationResponse.Builder,DescribeEncryptionConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEncryptionConfigurationResponse
@Mutable @NotThreadSafe public static interface DescribeEncryptionConfigurationResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeEncryptionConfigurationResponse.Builder,DescribeEncryptionConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeEncryptionConfigurationResponse.BuilderconfigurationDetails(Consumer<ConfigurationDetails.Builder> configurationDetails)The encryption configuration details that include the status information of the KMS key and the KMS access role.DescribeEncryptionConfigurationResponse.BuilderconfigurationDetails(ConfigurationDetails configurationDetails)The encryption configuration details that include the status information of the KMS key and the KMS access role.DescribeEncryptionConfigurationResponse.BuilderencryptionType(String encryptionType)The type of the Amazon Web Services Key Management Service (KMS) key.DescribeEncryptionConfigurationResponse.BuilderencryptionType(EncryptionType encryptionType)The type of the Amazon Web Services Key Management Service (KMS) key.DescribeEncryptionConfigurationResponse.BuilderkmsAccessRoleArn(String kmsAccessRoleArn)The ARN of the customer-managed KMS key.DescribeEncryptionConfigurationResponse.BuilderkmsKeyArn(String 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.DescribeEncryptionConfigurationResponse.BuilderlastModifiedDate(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 Detail
-
encryptionType
DescribeEncryptionConfigurationResponse.Builder encryptionType(String 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,EncryptionType
-
encryptionType
DescribeEncryptionConfigurationResponse.Builder encryptionType(EncryptionType 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,EncryptionType
-
kmsKeyArn
DescribeEncryptionConfigurationResponse.Builder kmsKeyArn(String 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
DescribeEncryptionConfigurationResponse.Builder kmsAccessRoleArn(String 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.Builderavoiding the need to create one manually viaConfigurationDetails.builder().When the
Consumercompletes,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:
configurationDetails(ConfigurationDetails)
-
lastModifiedDate
DescribeEncryptionConfigurationResponse.Builder lastModifiedDate(Instant 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.
-
-