Interface ListCustomRoutingEndpointGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomRoutingEndpointGroupsResponse.Builder,,ListCustomRoutingEndpointGroupsResponse> GlobalAcceleratorResponse.Builder,SdkBuilder<ListCustomRoutingEndpointGroupsResponse.Builder,,ListCustomRoutingEndpointGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomRoutingEndpointGroupsResponse
public static interface ListCustomRoutingEndpointGroupsResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomRoutingEndpointGroupsResponse.Builder,ListCustomRoutingEndpointGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpointGroups(Collection<CustomRoutingEndpointGroup> endpointGroups) The list of the endpoint groups associated with a listener for a custom routing accelerator.endpointGroups(Consumer<CustomRoutingEndpointGroup.Builder>... endpointGroups) The list of the endpoint groups associated with a listener for a custom routing accelerator.endpointGroups(CustomRoutingEndpointGroup... endpointGroups) The list of the endpoint groups associated with a listener for a custom routing accelerator.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endpointGroups
ListCustomRoutingEndpointGroupsResponse.Builder endpointGroups(Collection<CustomRoutingEndpointGroup> endpointGroups) The list of the endpoint groups associated with a listener for a custom routing accelerator.
- Parameters:
endpointGroups- The list of the endpoint groups associated with a listener for a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroups
ListCustomRoutingEndpointGroupsResponse.Builder endpointGroups(CustomRoutingEndpointGroup... endpointGroups) The list of the endpoint groups associated with a listener for a custom routing accelerator.
- Parameters:
endpointGroups- The list of the endpoint groups associated with a listener for a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroups
ListCustomRoutingEndpointGroupsResponse.Builder endpointGroups(Consumer<CustomRoutingEndpointGroup.Builder>... endpointGroups) The list of the endpoint groups associated with a listener for a custom routing accelerator.
This is a convenience method that creates an instance of theCustomRoutingEndpointGroup.Builderavoiding the need to create one manually viaCustomRoutingEndpointGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointGroups(List<CustomRoutingEndpointGroup>).- Parameters:
endpointGroups- a consumer that will call methods onCustomRoutingEndpointGroup.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.
-