Interface ListAccountLinksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAccountLinksResponse.Builder,ListAccountLinksResponse>,SdkBuilder<ListAccountLinksResponse.Builder,ListAccountLinksResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
- ListAccountLinksResponse
public static interface ListAccountLinksResponse.Builder extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<ListAccountLinksResponse.Builder,ListAccountLinksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccountLinksResponse.BuilderaccountLinks(Collection<AccountLink> accountLinks)Information about the account links.ListAccountLinksResponse.BuilderaccountLinks(Consumer<AccountLink.Builder>... accountLinks)Information about the account links.ListAccountLinksResponse.BuilderaccountLinks(AccountLink... accountLinks)Information about the account links.ListAccountLinksResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
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, sdkFieldNameToField, 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 Detail
-
accountLinks
ListAccountLinksResponse.Builder accountLinks(Collection<AccountLink> accountLinks)
Information about the account links.
- Parameters:
accountLinks- Information about the account links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLinks
ListAccountLinksResponse.Builder accountLinks(AccountLink... accountLinks)
Information about the account links.
- Parameters:
accountLinks- Information about the account links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLinks
ListAccountLinksResponse.Builder accountLinks(Consumer<AccountLink.Builder>... accountLinks)
Information about the account links.
This is a convenience method that creates an instance of theAccountLink.Builderavoiding the need to create one manually viaAccountLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accountLinks(List.) - Parameters:
accountLinks- 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:
#accountLinks(java.util.Collection)
-
nextToken
ListAccountLinksResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-