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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEndpointGroupsResponse.BuilderendpointGroups(Collection<EndpointGroup> endpointGroups)The list of the endpoint groups associated with a listener.ListEndpointGroupsResponse.BuilderendpointGroups(Consumer<EndpointGroup.Builder>... endpointGroups)The list of the endpoint groups associated with a listener.ListEndpointGroupsResponse.BuilderendpointGroups(EndpointGroup... endpointGroups)The list of the endpoint groups associated with a listener.ListEndpointGroupsResponse.BuildernextToken(String nextToken)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 Detail
-
endpointGroups
ListEndpointGroupsResponse.Builder endpointGroups(Collection<EndpointGroup> 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(EndpointGroup... 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.Builderavoiding the need to create one manually viaEndpointGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#endpointGroups(List.) - 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:
#endpointGroups(java.util.Collection)
-
nextToken
ListEndpointGroupsResponse.Builder nextToken(String 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.
-
-