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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateHsmConfigurationResponse.Builder
hsmConfiguration(Consumer<HsmConfiguration.Builder> hsmConfiguration)
Sets the value of the HsmConfiguration property for this object.CreateHsmConfigurationResponse.Builder
hsmConfiguration(HsmConfiguration hsmConfiguration)
Sets the value of the HsmConfiguration property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
-
hsmConfiguration
CreateHsmConfigurationResponse.Builder hsmConfiguration(HsmConfiguration 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.Builder
avoiding the need to create one manually viaHsmConfiguration.builder()
.When the
Consumer
completes,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:
hsmConfiguration(HsmConfiguration)
-
-