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 aNextToken
from 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
copy
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
Methods 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.Builder
avoiding the need to create one manually viaApplicationResourceAssociation.builder()
.When the
Consumer
completes,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
NextToken
from a previous call that was paginated, provide this token to receive the next set of results.- Parameters:
nextToken
- If you received aNextToken
from 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.
-