Interface DescribeEnvironmentMembershipsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,Cloud9Response.Builder
,CopyableBuilder<DescribeEnvironmentMembershipsResponse.Builder,
,DescribeEnvironmentMembershipsResponse> SdkBuilder<DescribeEnvironmentMembershipsResponse.Builder,
,DescribeEnvironmentMembershipsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEnvironmentMembershipsResponse
public static interface DescribeEnvironmentMembershipsResponse.Builder
extends Cloud9Response.Builder, SdkPojo, CopyableBuilder<DescribeEnvironmentMembershipsResponse.Builder,DescribeEnvironmentMembershipsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmemberships
(Collection<EnvironmentMember> memberships) Information about the environment members for the environment.memberships
(Consumer<EnvironmentMember.Builder>... memberships) Information about the environment members for the environment.memberships
(EnvironmentMember... memberships) Information about the environment members for the environment.If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token.Methods inherited from interface software.amazon.awssdk.services.cloud9.model.Cloud9Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
memberships
DescribeEnvironmentMembershipsResponse.Builder memberships(Collection<EnvironmentMember> memberships) Information about the environment members for the environment.
- Parameters:
memberships
- Information about the environment members for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberships
Information about the environment members for the environment.
- Parameters:
memberships
- Information about the environment members for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberships
DescribeEnvironmentMembershipsResponse.Builder memberships(Consumer<EnvironmentMember.Builder>... memberships) Information about the environment members for the environment.
This is a convenience method that creates an instance of theEnvironmentMember.Builder
avoiding the need to create one manually viaEnvironmentMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberships(List<EnvironmentMember>)
.- Parameters:
memberships
- a consumer that will call methods onEnvironmentMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
- Parameters:
nextToken
- If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-