Interface DescribeUserStackAssociationsResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeUserStackAssociationsResponse.Builder,,DescribeUserStackAssociationsResponse> SdkBuilder<DescribeUserStackAssociationsResponse.Builder,,DescribeUserStackAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeUserStackAssociationsResponse
public static interface DescribeUserStackAssociationsResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeUserStackAssociationsResponse.Builder,DescribeUserStackAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to retrieve the next page of results for this operation.userStackAssociations(Collection<UserStackAssociation> userStackAssociations) The UserStackAssociation objects.userStackAssociations(Consumer<UserStackAssociation.Builder>... userStackAssociations) The UserStackAssociation objects.userStackAssociations(UserStackAssociation... userStackAssociations) The UserStackAssociation objects.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
userStackAssociations
DescribeUserStackAssociationsResponse.Builder userStackAssociations(Collection<UserStackAssociation> userStackAssociations) The UserStackAssociation objects.
- Parameters:
userStackAssociations- The UserStackAssociation objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStackAssociations
DescribeUserStackAssociationsResponse.Builder userStackAssociations(UserStackAssociation... userStackAssociations) The UserStackAssociation objects.
- Parameters:
userStackAssociations- The UserStackAssociation objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStackAssociations
DescribeUserStackAssociationsResponse.Builder userStackAssociations(Consumer<UserStackAssociation.Builder>... userStackAssociations) The UserStackAssociation objects.
This is a convenience method that creates an instance of theUserStackAssociation.Builderavoiding the need to create one manually viaUserStackAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserStackAssociations(List<UserStackAssociation>).- Parameters:
userStackAssociations- a consumer that will call methods onUserStackAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-