public static interface CreateHsmResponse.Builder extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<CreateHsmResponse.Builder,CreateHsmResponse>
Modifier and Type | Method and Description |
---|---|
default CreateHsmResponse.Builder |
hsm(Consumer<Hsm.Builder> hsm)
Information about the HSM that was created.
|
CreateHsmResponse.Builder |
hsm(Hsm hsm)
Information about the HSM that was created.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateHsmResponse.Builder hsm(Hsm hsm)
Information about the HSM that was created.
hsm
- Information about the HSM that was created.default CreateHsmResponse.Builder hsm(Consumer<Hsm.Builder> hsm)
Information about the HSM that was created.
This is a convenience that creates an instance of theHsm.Builder
avoiding the need to create one
manually via Hsm.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to hsm(Hsm)
.hsm
- a consumer that will call methods on Hsm.Builder
hsm(Hsm)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.