Interface ListMemberAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMemberAccountsResponse.Builder,
,ListMemberAccountsResponse> MacieResponse.Builder
,SdkBuilder<ListMemberAccountsResponse.Builder,
,ListMemberAccountsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMemberAccountsResponse
-
Method Summary
Modifier and TypeMethodDescriptionmemberAccounts
(Collection<MemberAccount> memberAccounts) (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action.memberAccounts
(Consumer<MemberAccount.Builder>... memberAccounts) (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action.memberAccounts
(MemberAccount... memberAccounts) (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action.(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 thenextToken
parameter 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 Details
-
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
(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.Builder
avoiding the need to create one manually viaMemberAccount.builder()
.When the
Consumer
completes,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
(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
nextToken
parameter 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 thenextToken
parameter 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.
-