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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListConnectionGroupsResponse.BuilderconnectionGroups(Collection<ConnectionGroupSummary> connectionGroups)The list of connection groups that you retrieved.ListConnectionGroupsResponse.BuilderconnectionGroups(Consumer<ConnectionGroupSummary.Builder>... connectionGroups)The list of connection groups that you retrieved.ListConnectionGroupsResponse.BuilderconnectionGroups(ConnectionGroupSummary... connectionGroups)The list of connection groups that you retrieved.ListConnectionGroupsResponse.BuildernextMarker(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 Detail
-
nextMarker
ListConnectionGroupsResponse.Builder nextMarker(String 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
ListConnectionGroupsResponse.Builder connectionGroups(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
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.Builderavoiding the need to create one manually viaConnectionGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#connectionGroups(List.) - 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:
#connectionGroups(java.util.Collection)
-
-