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 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 the Hsm.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).

      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: