Interface GetAccountLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAccountLinkResponse.Builder,
,GetAccountLinkResponse> SdkBuilder<GetAccountLinkResponse.Builder,
,GetAccountLinkResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
GetAccountLinkResponse
public static interface GetAccountLinkResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<GetAccountLinkResponse.Builder,GetAccountLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAccountLinkResponse.Builder
accountLink
(Consumer<AccountLink.Builder> accountLink) The account link of the account link to retrieve.accountLink
(AccountLink accountLink) The account link of the account link to retrieve.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
The account link of the account link to retrieve.
- Parameters:
accountLink
- The account link of the account link to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLink
The account link of the account link to retrieve.
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:
-