Interface InviteAccountToOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<InviteAccountToOrganizationResponse.Builder,,InviteAccountToOrganizationResponse> OrganizationsResponse.Builder,SdkBuilder<InviteAccountToOrganizationResponse.Builder,,InviteAccountToOrganizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
InviteAccountToOrganizationResponse
@Mutable
@NotThreadSafe
public static interface InviteAccountToOrganizationResponse.Builder
extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<InviteAccountToOrganizationResponse.Builder,InviteAccountToOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhandshake(Consumer<Handshake.Builder> handshake) A structure that contains details about the handshake that is created to support this invitation request.A structure that contains details about the handshake that is created to support this invitation request.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 structure that contains details about the handshake that is created to support this invitation request.
- Parameters:
handshake- A structure that contains details about the handshake that is created to support this invitation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handshake
default InviteAccountToOrganizationResponse.Builder handshake(Consumer<Handshake.Builder> handshake) A structure that contains details about the handshake that is created to support this invitation request.
This is a convenience method that creates an instance of theHandshake.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:
-