Interface CancelHandshakeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CancelHandshakeResponse.Builder,,CancelHandshakeResponse> OrganizationsResponse.Builder,SdkBuilder<CancelHandshakeResponse.Builder,,CancelHandshakeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CancelHandshakeResponse
@Mutable
@NotThreadSafe
public static interface CancelHandshakeResponse.Builder
extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<CancelHandshakeResponse.Builder,CancelHandshakeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CancelHandshakeResponse.Builderhandshake(Consumer<Handshake.Builder> handshake) AHandshakeobject.AHandshakeobject.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
handshake
A
Handshakeobject. Contains for the handshake that you canceled.- Parameters:
handshake- AHandshakeobject. Contains for the handshake that you canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handshake
A
This is a convenience method that creates an instance of theHandshakeobject. Contains for the handshake that you canceled.Handshake.Builderavoiding the need to create one manually viaHandshake.builder().When the
Consumercompletes,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:
-