Interface ListMembersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMembersResponse.Builder,
,ListMembersResponse> Macie2Response.Builder
,SdkBuilder<ListMembersResponse.Builder,
,ListMembersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMembersResponse
@Mutable
@NotThreadSafe
public static interface ListMembersResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListMembersResponse.Builder,ListMembersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmembers
(Collection<Member> members) An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.members
(Consumer<Member.Builder>... members) An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.The string to use in a subsequent request to get the next page of results in a paginated response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
members
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
- Parameters:
members
- An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
- Parameters:
members
- An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
This is a convenience method that creates an instance of theMember.Builder
avoiding the need to create one manually viaMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomembers(List<Member>)
.- Parameters:
members
- a consumer that will call methods onMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-