Interface CreateHsmResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CloudHsmV2Response.Builder,- CopyableBuilder<CreateHsmResponse.Builder,,- CreateHsmResponse> - SdkBuilder<CreateHsmResponse.Builder,,- CreateHsmResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateHsmResponse
@Mutable
@NotThreadSafe
public static interface CreateHsmResponse.Builder
extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<CreateHsmResponse.Builder,CreateHsmResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault CreateHsmResponse.Builderhsm(Consumer<Hsm.Builder> hsm) Information about the HSM that was created.Information about the HSM that was created.Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
hsmInformation about the HSM that was created. - Parameters:
- hsm- Information about the HSM that was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
hsmInformation about the HSM that was created. This is a convenience method that creates an instance of theHsm.Builderavoiding the need to create one manually viaHsm.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohsm(Hsm).- Parameters:
- hsm- a consumer that will call methods on- Hsm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-