Interface ListConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConnectionsResponse.Builder,,ListConnectionsResponse> PartnerCentralAccountResponse.Builder,SdkBuilder<ListConnectionsResponse.Builder,,ListConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConnectionsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectionsResponse.Builder
extends PartnerCentralAccountResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionSummaries(Collection<ConnectionSummary> connectionSummaries) A list of connection summaries matching the specified criteria.connectionSummaries(Consumer<ConnectionSummary.Builder>... connectionSummaries) A list of connection summaries matching the specified criteria.connectionSummaries(ConnectionSummary... connectionSummaries) A list of connection summaries matching the specified criteria.The token for retrieving the next page of results if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralaccount.model.PartnerCentralAccountResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
connectionSummaries
ListConnectionsResponse.Builder connectionSummaries(Collection<ConnectionSummary> connectionSummaries) A list of connection summaries matching the specified criteria.
- Parameters:
connectionSummaries- A list of connection summaries matching the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionSummaries
A list of connection summaries matching the specified criteria.
- Parameters:
connectionSummaries- A list of connection summaries matching the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionSummaries
ListConnectionsResponse.Builder connectionSummaries(Consumer<ConnectionSummary.Builder>... connectionSummaries) A list of connection summaries matching the specified criteria.
This is a convenience method that creates an instance of theConnectionSummary.Builderavoiding the need to create one manually viaConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionSummaries(List<ConnectionSummary>).- Parameters:
connectionSummaries- a consumer that will call methods onConnectionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for retrieving the next page of results if more results are available.
- Parameters:
nextToken- The token for retrieving the next page of results if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-