Interface ListConnectionGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListConnectionGroupsResponse.Builder,
,ListConnectionGroupsResponse> SdkBuilder<ListConnectionGroupsResponse.Builder,
,ListConnectionGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListConnectionGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectionGroupsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionGroupsResponse.Builder,ListConnectionGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionGroups
(Collection<ConnectionGroupSummary> connectionGroups) The list of connection groups that you retrieved.connectionGroups
(Consumer<ConnectionGroupSummary.Builder>... connectionGroups) The list of connection groups that you retrieved.connectionGroups
(ConnectionGroupSummary... connectionGroups) The list of connection groups that you retrieved.nextMarker
(String nextMarker) A token used for pagination of results returned in the response.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
nextMarker
A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.
- Parameters:
nextMarker
- A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionGroups
ListConnectionGroupsResponse.Builder connectionGroups(Collection<ConnectionGroupSummary> connectionGroups) The list of connection groups that you retrieved.
- Parameters:
connectionGroups
- The list of connection groups that you retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionGroups
The list of connection groups that you retrieved.
- Parameters:
connectionGroups
- The list of connection groups that you retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionGroups
ListConnectionGroupsResponse.Builder connectionGroups(Consumer<ConnectionGroupSummary.Builder>... connectionGroups) The list of connection groups that you retrieved.
This is a convenience method that creates an instance of theConnectionGroupSummary.Builder
avoiding the need to create one manually viaConnectionGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionGroups(List<ConnectionGroupSummary>)
.- Parameters:
connectionGroups
- a consumer that will call methods onConnectionGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-