Interface ListCustomRoutingAcceleratorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomRoutingAcceleratorsResponse.Builder,,ListCustomRoutingAcceleratorsResponse> GlobalAcceleratorResponse.Builder,SdkBuilder<ListCustomRoutingAcceleratorsResponse.Builder,,ListCustomRoutingAcceleratorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomRoutingAcceleratorsResponse
public static interface ListCustomRoutingAcceleratorsResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomRoutingAcceleratorsResponse.Builder,ListCustomRoutingAcceleratorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccelerators(Collection<CustomRoutingAccelerator> accelerators) The list of custom routing accelerators for a customer account.accelerators(Consumer<CustomRoutingAccelerator.Builder>... accelerators) The list of custom routing accelerators for a customer account.accelerators(CustomRoutingAccelerator... accelerators) The list of custom routing accelerators for a customer account.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
-
accelerators
ListCustomRoutingAcceleratorsResponse.Builder accelerators(Collection<CustomRoutingAccelerator> accelerators) The list of custom routing accelerators for a customer account.
- Parameters:
accelerators- The list of custom routing accelerators for a customer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
ListCustomRoutingAcceleratorsResponse.Builder accelerators(CustomRoutingAccelerator... accelerators) The list of custom routing accelerators for a customer account.
- Parameters:
accelerators- The list of custom routing accelerators for a customer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
ListCustomRoutingAcceleratorsResponse.Builder accelerators(Consumer<CustomRoutingAccelerator.Builder>... accelerators) The list of custom routing accelerators for a customer account.
This is a convenience method that creates an instance of theCustomRoutingAccelerator.Builderavoiding the need to create one manually viaCustomRoutingAccelerator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccelerators(List<CustomRoutingAccelerator>).- Parameters:
accelerators- a consumer that will call methods onCustomRoutingAccelerator.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.
-