Interface ListMemberAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMemberAccountsResponse.Builder,,ListMemberAccountsResponse> NotificationsResponse.Builder,SdkBuilder<ListMemberAccountsResponse.Builder,,ListMemberAccountsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMemberAccountsResponse
@Mutable
@NotThreadSafe
public static interface ListMemberAccountsResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListMemberAccountsResponse.Builder,ListMemberAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmemberAccounts(Collection<MemberAccount> memberAccounts) The list of member accounts that match the specified criteria.memberAccounts(Consumer<MemberAccount.Builder>... memberAccounts) The list of member accounts that match the specified criteria.memberAccounts(MemberAccount... memberAccounts) The list of member accounts that match the specified criteria.The token to use for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
memberAccounts
The list of member accounts that match the specified criteria.
- Parameters:
memberAccounts- The list of member accounts that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccounts
The list of member accounts that match the specified criteria.
- Parameters:
memberAccounts- The list of member accounts that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccounts
ListMemberAccountsResponse.Builder memberAccounts(Consumer<MemberAccount.Builder>... memberAccounts) The list of member accounts that match the specified criteria.
This is a convenience method that creates an instance of theMemberAccount.Builderavoiding the need to create one manually viaMemberAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemberAccounts(List<MemberAccount>).- Parameters:
memberAccounts- a consumer that will call methods onMemberAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use for the next page of results.
- Parameters:
nextToken- The token to use for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-