Class CfnDevice.AWSLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnDevice.AWSLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDevice.AWSLocationProperty>
- Enclosing interface:
CfnDevice.AWSLocationProperty
@Stability(Stable)
public static final class CfnDevice.AWSLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDevice.AWSLocationProperty>
A builder for
CfnDevice.AWSLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDevice.AWSLocationProperty.getSubnetArn()Sets the value ofCfnDevice.AWSLocationProperty.getZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetArn
Sets the value ofCfnDevice.AWSLocationProperty.getSubnetArn()- Parameters:
subnetArn- The Amazon Resource Name (ARN) of the subnet that the device is located in.- Returns:
this
-
zone
Sets the value ofCfnDevice.AWSLocationProperty.getZone()- Parameters:
zone- The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDevice.AWSLocationProperty>- Returns:
- a new instance of
CfnDevice.AWSLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-