Interface CreateAcceleratorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAcceleratorResponse.Builder,CreateAcceleratorResponse>,GlobalAcceleratorResponse.Builder,SdkBuilder<CreateAcceleratorResponse.Builder,CreateAcceleratorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAcceleratorResponse
public static interface CreateAcceleratorResponse.Builder extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<CreateAcceleratorResponse.Builder,CreateAcceleratorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAcceleratorResponse.Builderaccelerator(Consumer<Accelerator.Builder> accelerator)The accelerator that is created by specifying a listener and the supported IP address types.CreateAcceleratorResponse.Builderaccelerator(Accelerator accelerator)The accelerator that is created by specifying a listener and the supported IP address types.-
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
-
accelerator
CreateAcceleratorResponse.Builder accelerator(Accelerator accelerator)
The accelerator that is created by specifying a listener and the supported IP address types.
- Parameters:
accelerator- The accelerator that is created by specifying a listener and the supported IP address types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerator
default CreateAcceleratorResponse.Builder accelerator(Consumer<Accelerator.Builder> accelerator)
The accelerator that is created by specifying a listener and the supported IP address types.
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 toaccelerator(Accelerator).- Parameters:
accelerator- 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:
accelerator(Accelerator)
-
-