Interface ListEndpointGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEndpointGroupsResponse.Builder,
,ListEndpointGroupsResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<ListEndpointGroupsResponse.Builder,
,ListEndpointGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEndpointGroupsResponse
public static interface ListEndpointGroupsResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListEndpointGroupsResponse.Builder,ListEndpointGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointGroups
(Collection<EndpointGroup> endpointGroups) The list of the endpoint groups associated with a listener.endpointGroups
(Consumer<EndpointGroup.Builder>... endpointGroups) The list of the endpoint groups associated with a listener.endpointGroups
(EndpointGroup... endpointGroups) The list of the endpoint groups associated with a listener.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
endpointGroups
The list of the endpoint groups associated with a listener.
- Parameters:
endpointGroups
- The list of the endpoint groups associated with a listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroups
The list of the endpoint groups associated with a listener.
- Parameters:
endpointGroups
- The list of the endpoint groups associated with a listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroups
ListEndpointGroupsResponse.Builder endpointGroups(Consumer<EndpointGroup.Builder>... endpointGroups) The list of the endpoint groups associated with a listener.
This is a convenience method that creates an instance of theEndpointGroup.Builder
avoiding the need to create one manually viaEndpointGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointGroups(List<EndpointGroup>)
.- Parameters:
endpointGroups
- a consumer that will call methods onEndpointGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken
- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-