Interface DescribeConnectionAliasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeConnectionAliasesResponse.Builder,
,DescribeConnectionAliasesResponse> SdkBuilder<DescribeConnectionAliasesResponse.Builder,
,DescribeConnectionAliasesResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
DescribeConnectionAliasesResponse
public static interface DescribeConnectionAliasesResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionAliasesResponse.Builder,DescribeConnectionAliasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionAliases
(Collection<ConnectionAlias> connectionAliases) Information about the specified connection aliases.connectionAliases
(Consumer<ConnectionAlias.Builder>... connectionAliases) Information about the specified connection aliases.connectionAliases
(ConnectionAlias... connectionAliases) Information about the specified connection aliases.The token to use to retrieve the next page 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, 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
-
connectionAliases
DescribeConnectionAliasesResponse.Builder connectionAliases(Collection<ConnectionAlias> connectionAliases) Information about the specified connection aliases.
- Parameters:
connectionAliases
- Information about the specified connection aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionAliases
Information about the specified connection aliases.
- Parameters:
connectionAliases
- Information about the specified connection aliases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionAliases
DescribeConnectionAliasesResponse.Builder connectionAliases(Consumer<ConnectionAlias.Builder>... connectionAliases) Information about the specified connection aliases.
This is a convenience method that creates an instance of theConnectionAlias.Builder
avoiding the need to create one manually viaConnectionAlias.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionAliases(List<ConnectionAlias>)
.- Parameters:
connectionAliases
- a consumer that will call methods onConnectionAlias.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-