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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutDefaultEncryptionConfigurationResponse.BuilderconfigurationStatus(Consumer<ConfigurationStatus.Builder> configurationStatus)The status of the account configuration.PutDefaultEncryptionConfigurationResponse.BuilderconfigurationStatus(ConfigurationStatus configurationStatus)The status of the account configuration.PutDefaultEncryptionConfigurationResponse.BuilderencryptionType(String encryptionType)The type of encryption used for the encryption configuration.PutDefaultEncryptionConfigurationResponse.BuilderencryptionType(EncryptionType encryptionType)The type of encryption used for the encryption configuration.PutDefaultEncryptionConfigurationResponse.BuilderkmsKeyArn(String kmsKeyArn)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 Detail
-
encryptionType
PutDefaultEncryptionConfigurationResponse.Builder encryptionType(String 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,EncryptionType
-
encryptionType
PutDefaultEncryptionConfigurationResponse.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:
EncryptionType,EncryptionType
-
kmsKeyArn
PutDefaultEncryptionConfigurationResponse.Builder kmsKeyArn(String 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.Builderavoiding the need to create one manually viaConfigurationStatus.builder().When the
Consumercompletes,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:
configurationStatus(ConfigurationStatus)
-
-