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 Summary
Modifier 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.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hsm
Information 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.
-
hsm
Information 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 onHsm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-