Interface AcceptHandshakeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AcceptHandshakeResponse.Builder,
,AcceptHandshakeResponse> OrganizationsResponse.Builder
,SdkBuilder<AcceptHandshakeResponse.Builder,
,AcceptHandshakeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AcceptHandshakeResponse
public static interface AcceptHandshakeResponse.Builder
extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<AcceptHandshakeResponse.Builder,AcceptHandshakeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptHandshakeResponse.Builder
handshake
(Consumer<Handshake.Builder> handshake) A structure that contains details about the accepted handshake.A structure that contains details about the accepted handshake.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
handshake
A structure that contains details about the accepted handshake.
- Parameters:
handshake
- A structure that contains details about the accepted handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handshake
A structure that contains details about the accepted handshake.
This is a convenience method that creates an instance of theHandshake.Builder
avoiding the need to create one manually viaHandshake.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohandshake(Handshake)
.- Parameters:
handshake
- a consumer that will call methods onHandshake.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-