Interface CreateHsmConfigurationResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateHsmConfigurationResponse.Builder,,CreateHsmConfigurationResponse> RedshiftResponse.Builder,SdkBuilder<CreateHsmConfigurationResponse.Builder,,CreateHsmConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateHsmConfigurationResponse
public static interface CreateHsmConfigurationResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<CreateHsmConfigurationResponse.Builder,CreateHsmConfigurationResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionhsmConfiguration(Consumer<HsmConfiguration.Builder> hsmConfiguration) Sets the value of the HsmConfiguration property for this object.hsmConfiguration(HsmConfiguration hsmConfiguration) Sets the value of the HsmConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
hsmConfiguration
Sets the value of the HsmConfiguration property for this object.- Parameters:
 hsmConfiguration- The new value for the HsmConfiguration property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
hsmConfiguration
default CreateHsmConfigurationResponse.Builder hsmConfiguration(Consumer<HsmConfiguration.Builder> hsmConfiguration) Sets the value of the HsmConfiguration property for this object. This is a convenience method that creates an instance of theHsmConfiguration.Builderavoiding the need to create one manually viaHsmConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohsmConfiguration(HsmConfiguration).- Parameters:
 hsmConfiguration- a consumer that will call methods onHsmConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -