Class AcceleratorAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.globalaccelerator.AcceleratorAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AcceleratorAttributes>
- Enclosing interface:
- AcceleratorAttributes
@Stability(Stable)
public static final class AcceleratorAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AcceleratorAttributes>
A builder for
AcceleratorAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceleratorArn(String acceleratorArn) Sets the value ofAcceleratorAttributes.getAcceleratorArn()build()Builds the configured instance.Sets the value ofAcceleratorAttributes.getDnsName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceleratorArn
Sets the value ofAcceleratorAttributes.getAcceleratorArn()- Parameters:
acceleratorArn- The ARN of the accelerator. This parameter is required.- Returns:
this
-
dnsName
Sets the value ofAcceleratorAttributes.getDnsName()- Parameters:
dnsName- The DNS name of the accelerator. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AcceleratorAttributes>- Returns:
- a new instance of
AcceleratorAttributes - Throws:
NullPointerException- if any required attribute was not provided
-