Interface RejectAccountLinkInvitationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RejectAccountLinkInvitationResponse.Builder,
,RejectAccountLinkInvitationResponse> SdkBuilder<RejectAccountLinkInvitationResponse.Builder,
,RejectAccountLinkInvitationResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
RejectAccountLinkInvitationResponse
public static interface RejectAccountLinkInvitationResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<RejectAccountLinkInvitationResponse.Builder,RejectAccountLinkInvitationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountLink
(Consumer<AccountLink.Builder> accountLink) Information about the account link.accountLink
(AccountLink accountLink) Information about the account link.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
accountLink
Information about the account link.
- Parameters:
accountLink
- Information about the account link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLink
default RejectAccountLinkInvitationResponse.Builder accountLink(Consumer<AccountLink.Builder> accountLink) Information about the account link.
This is a convenience method that creates an instance of theAccountLink.Builder
avoiding the need to create one manually viaAccountLink.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountLink(AccountLink)
.- Parameters:
accountLink
- a consumer that will call methods onAccountLink.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-