Interface ListAccountAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<ListAccountAssociationsResponse.Builder,ListAccountAssociationsResponse>,SdkBuilder<ListAccountAssociationsResponse.Builder,ListAccountAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccountAssociationsResponse
public static interface ListAccountAssociationsResponse.Builder extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListAccountAssociationsResponse.Builder,ListAccountAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccountAssociationsResponse.BuilderlinkedAccounts(Collection<AccountAssociationsListElement> linkedAccounts)The list of linked accounts in the payer account.ListAccountAssociationsResponse.BuilderlinkedAccounts(Consumer<AccountAssociationsListElement.Builder>... linkedAccounts)The list of linked accounts in the payer account.ListAccountAssociationsResponse.BuilderlinkedAccounts(AccountAssociationsListElement... linkedAccounts)The list of linked accounts in the payer account.ListAccountAssociationsResponse.BuildernextToken(String nextToken)The pagination token that's used on subsequent calls to get accounts.-
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
linkedAccounts
ListAccountAssociationsResponse.Builder linkedAccounts(Collection<AccountAssociationsListElement> linkedAccounts)
The list of linked accounts in the payer account.
- Parameters:
linkedAccounts- The list of linked accounts in the payer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedAccounts
ListAccountAssociationsResponse.Builder linkedAccounts(AccountAssociationsListElement... linkedAccounts)
The list of linked accounts in the payer account.
- Parameters:
linkedAccounts- The list of linked accounts in the payer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedAccounts
ListAccountAssociationsResponse.Builder linkedAccounts(Consumer<AccountAssociationsListElement.Builder>... linkedAccounts)
The list of linked accounts in the payer account.
This is a convenience method that creates an instance of theAccountAssociationsListElement.Builderavoiding the need to create one manually viaAccountAssociationsListElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#linkedAccounts(List.) - Parameters:
linkedAccounts- a consumer that will call methods onAccountAssociationsListElement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#linkedAccounts(java.util.Collection)
-
nextToken
ListAccountAssociationsResponse.Builder nextToken(String nextToken)
The pagination token that's used on subsequent calls to get accounts.
- Parameters:
nextToken- The pagination token that's used on subsequent calls to get accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-