Interface ListMembersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMembersResponse.Builder,ListMembersResponse>,Macie2Response.Builder,SdkBuilder<ListMembersResponse.Builder,ListMembersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMembersResponse
public static interface ListMembersResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListMembersResponse.Builder,ListMembersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMembersResponse.Buildermembers(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.ListMembersResponse.Buildermembers(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.ListMembersResponse.Buildermembers(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.ListMembersResponse.BuildernextToken(String nextToken)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 Detail
-
members
ListMembersResponse.Builder members(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.
- 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
ListMembersResponse.Builder members(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.
- 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
ListMembersResponse.Builder 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.
This is a convenience method that creates an instance of theMember.Builderavoiding the need to create one manually viaMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#members(List.) - 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:
#members(java.util.Collection)
-
nextToken
ListMembersResponse.Builder nextToken(String 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.
-
-