Class CfnDevicePropsMixin.AWSLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnDevicePropsMixin.AWSLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDevicePropsMixin.AWSLocationProperty>
- Enclosing interface:
CfnDevicePropsMixin.AWSLocationProperty
@Stability(Stable)
public static final class CfnDevicePropsMixin.AWSLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDevicePropsMixin.AWSLocationProperty>
A builder for
CfnDevicePropsMixin.AWSLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDevicePropsMixin.AWSLocationProperty.getSubnetArn()Sets the value ofCfnDevicePropsMixin.AWSLocationProperty.getZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetArn
@Stability(Stable) public CfnDevicePropsMixin.AWSLocationProperty.Builder subnetArn(String subnetArn) Sets the value ofCfnDevicePropsMixin.AWSLocationProperty.getSubnetArn()- Parameters:
subnetArn- The Amazon Resource Name (ARN) of the subnet that the device is located in.- Returns:
this
-
zone
Sets the value ofCfnDevicePropsMixin.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<CfnDevicePropsMixin.AWSLocationProperty>- Returns:
- a new instance of
CfnDevicePropsMixin.AWSLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-