Interface ListMemberAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMemberAccountsResponse.Builder,ListMemberAccountsResponse>,MacieResponse.Builder,SdkBuilder<ListMemberAccountsResponse.Builder,ListMemberAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMemberAccountsResponse
public static interface ListMemberAccountsResponse.Builder extends MacieResponse.Builder, SdkPojo, CopyableBuilder<ListMemberAccountsResponse.Builder,ListMemberAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMemberAccountsResponse.BuildermemberAccounts(Collection<MemberAccount> memberAccounts)(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action.ListMemberAccountsResponse.BuildermemberAccounts(Consumer<MemberAccount.Builder>... memberAccounts)(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action.ListMemberAccountsResponse.BuildermemberAccounts(MemberAccount... memberAccounts)(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action.ListMemberAccountsResponse.BuildernextToken(String nextToken)(Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for thenextTokenparameter in a subsequent pagination request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie.model.MacieResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
memberAccounts
ListMemberAccountsResponse.Builder memberAccounts(Collection<MemberAccount> memberAccounts)
(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.
- Parameters:
memberAccounts- (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccounts
ListMemberAccountsResponse.Builder memberAccounts(MemberAccount... memberAccounts)
(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.
- Parameters:
memberAccounts- (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccounts
ListMemberAccountsResponse.Builder memberAccounts(Consumer<MemberAccount.Builder>... memberAccounts)
(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.
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 to#memberAccounts(List.) - 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:
#memberAccounts(java.util.Collection)
-
nextToken
ListMemberAccountsResponse.Builder nextToken(String nextToken)
(Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the
nextTokenparameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Parameters:
nextToken- (Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for thenextTokenparameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-