Class AcceleratorProps.Builder
java.lang.Object
software.amazon.awscdk.services.globalaccelerator.AcceleratorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AcceleratorProps>
- Enclosing interface:
- AcceleratorProps
@Stability(Stable)
public static final class AcceleratorProps.Builder
extends Object
implements software.amazon.jsii.Builder<AcceleratorProps>
A builder for
AcceleratorProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceleratorName(String acceleratorName) Sets the value ofAcceleratorProps.getAcceleratorName()build()Builds the configured instance.Sets the value ofAcceleratorProps.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceleratorName
Sets the value ofAcceleratorProps.getAcceleratorName()- Parameters:
acceleratorName- The name of the accelerator.- Returns:
this
-
enabled
Sets the value ofAcceleratorProps.getEnabled()- Parameters:
enabled- Indicates whether the accelerator is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AcceleratorProps>- Returns:
- a new instance of
AcceleratorProps - Throws:
NullPointerException- if any required attribute was not provided
-