Interface CreateHsmResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudHsmV2Response.Builder,CopyableBuilder<CreateHsmResponse.Builder,CreateHsmResponse>,SdkBuilder<CreateHsmResponse.Builder,CreateHsmResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateHsmResponse
public static interface CreateHsmResponse.Builder extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<CreateHsmResponse.Builder,CreateHsmResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateHsmResponse.Builderhsm(Consumer<Hsm.Builder> hsm)Information about the HSM that was created.CreateHsmResponse.Builderhsm(Hsm hsm)Information about the HSM that was created.-
Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
hsm
CreateHsmResponse.Builder hsm(Hsm 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
default CreateHsmResponse.Builder hsm(Consumer<Hsm.Builder> 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:
hsm(Hsm)
-
-