Interface DescribeApplicationAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeApplicationAssociationsResponse.Builder,,DescribeApplicationAssociationsResponse> SdkBuilder<DescribeApplicationAssociationsResponse.Builder,,DescribeApplicationAssociationsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeApplicationAssociationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeApplicationAssociationsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeApplicationAssociationsResponse.Builder,DescribeApplicationAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<ApplicationResourceAssociation> associations) List of associations and information about them.associations(Consumer<ApplicationResourceAssociation.Builder>... associations) List of associations and information about them.associations(ApplicationResourceAssociation... associations) List of associations and information about them.If you received aNextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.Methods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
associations
DescribeApplicationAssociationsResponse.Builder associations(Collection<ApplicationResourceAssociation> associations) List of associations and information about them.
- Parameters:
associations- List of associations and information about them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeApplicationAssociationsResponse.Builder associations(ApplicationResourceAssociation... associations) List of associations and information about them.
- Parameters:
associations- List of associations and information about them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeApplicationAssociationsResponse.Builder associations(Consumer<ApplicationResourceAssociation.Builder>... associations) List of associations and information about them.
This is a convenience method that creates an instance of theApplicationResourceAssociation.Builderavoiding the need to create one manually viaApplicationResourceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<ApplicationResourceAssociation>).- Parameters:
associations- a consumer that will call methods onApplicationResourceAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If you received a
NextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.- Parameters:
nextToken- If you received aNextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-