Interface DeclineHandshakeResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>, OrganizationsResponse.Builder, SdkBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DeclineHandshakeResponse

public static interface DeclineHandshakeResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DeclineHandshakeResponse.Builder,DeclineHandshakeResponse>
  • Method Details

    • handshake

      A structure that contains details about the declined handshake. The state is updated to show the value DECLINED.

      Parameters:
      handshake - A structure that contains details about the declined handshake. The state is updated to show the value DECLINED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • handshake

      A structure that contains details about the declined handshake. The state is updated to show the value DECLINED.

      This is a convenience method that creates an instance of the Handshake.Builder avoiding the need to create one manually via Handshake.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to handshake(Handshake).

      Parameters:
      handshake - a consumer that will call methods on Handshake.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: