Interface ListAcceleratorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAcceleratorsResponse.Builder,ListAcceleratorsResponse>,GlobalAcceleratorResponse.Builder,SdkBuilder<ListAcceleratorsResponse.Builder,ListAcceleratorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAcceleratorsResponse
public static interface ListAcceleratorsResponse.Builder extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListAcceleratorsResponse.Builder,ListAcceleratorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAcceleratorsResponse.Builderaccelerators(Collection<Accelerator> accelerators)The list of accelerators for a customer account.ListAcceleratorsResponse.Builderaccelerators(Consumer<Accelerator.Builder>... accelerators)The list of accelerators for a customer account.ListAcceleratorsResponse.Builderaccelerators(Accelerator... accelerators)The list of accelerators for a customer account.ListAcceleratorsResponse.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
-
accelerators
ListAcceleratorsResponse.Builder accelerators(Collection<Accelerator> accelerators)
The list of accelerators for a customer account.
- Parameters:
accelerators- The list of accelerators for a customer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
ListAcceleratorsResponse.Builder accelerators(Accelerator... accelerators)
The list of accelerators for a customer account.
- Parameters:
accelerators- The list of accelerators for a customer account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
ListAcceleratorsResponse.Builder accelerators(Consumer<Accelerator.Builder>... accelerators)
The list of accelerators for a customer account.
This is a convenience method that creates an instance of theAccelerator.Builderavoiding the need to create one manually viaAccelerator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accelerators(List.) - Parameters:
accelerators- a consumer that will call methods onAccelerator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accelerators(java.util.Collection)
-
nextToken
ListAcceleratorsResponse.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.
-
-