Interface ListAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<ListAccountsResponse.Builder,ListAccountsResponse>,SdkBuilder<ListAccountsResponse.Builder,ListAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccountsResponse
public static interface ListAccountsResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<ListAccountsResponse.Builder,ListAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccountsResponse.Builderaccounts(Collection<Account> accounts)List of Amazon Chime accounts and account details.ListAccountsResponse.Builderaccounts(Consumer<Account.Builder>... accounts)List of Amazon Chime accounts and account details.ListAccountsResponse.Builderaccounts(Account... accounts)List of Amazon Chime accounts and account details.ListAccountsResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
accounts
ListAccountsResponse.Builder accounts(Collection<Account> accounts)
List of Amazon Chime accounts and account details.
- Parameters:
accounts- List of Amazon Chime accounts and account details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
ListAccountsResponse.Builder accounts(Account... accounts)
List of Amazon Chime accounts and account details.
- Parameters:
accounts- List of Amazon Chime accounts and account details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
ListAccountsResponse.Builder accounts(Consumer<Account.Builder>... accounts)
List of Amazon Chime accounts and account details.
This is a convenience method that creates an instance of theAccount.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accounts(List.) - Parameters:
accounts- a consumer that will call methods onAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accounts(java.util.Collection)
-
nextToken
ListAccountsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results.
- Parameters:
nextToken- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-