Class CfnDeviceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.networkmanager.mixins.CfnDeviceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeviceMixinProps>
- Enclosing interface:
CfnDeviceMixinProps
@Stability(Stable)
public static final class CfnDeviceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeviceMixinProps>
A builder for
CfnDeviceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsLocation(IResolvable awsLocation) Sets the value ofCfnDeviceMixinProps.getAwsLocation()awsLocation(CfnDevicePropsMixin.AWSLocationProperty awsLocation) Sets the value ofCfnDeviceMixinProps.getAwsLocation()build()Builds the configured instance.description(String description) Sets the value ofCfnDeviceMixinProps.getDescription()globalNetworkId(String globalNetworkId) Sets the value ofCfnDeviceMixinProps.getGlobalNetworkId()location(IResolvable location) Sets the value ofCfnDeviceMixinProps.getLocation()location(CfnDevicePropsMixin.LocationProperty location) Sets the value ofCfnDeviceMixinProps.getLocation()Sets the value ofCfnDeviceMixinProps.getModel()serialNumber(String serialNumber) Sets the value ofCfnDeviceMixinProps.getSerialNumber()Sets the value ofCfnDeviceMixinProps.getSiteId()Sets the value ofCfnDeviceMixinProps.getTags()Sets the value ofCfnDeviceMixinProps.getType()Sets the value ofCfnDeviceMixinProps.getVendor()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsLocation
Sets the value ofCfnDeviceMixinProps.getAwsLocation()- Parameters:
awsLocation- The AWS location of the device.- Returns:
this
-
awsLocation
@Stability(Stable) public CfnDeviceMixinProps.Builder awsLocation(CfnDevicePropsMixin.AWSLocationProperty awsLocation) Sets the value ofCfnDeviceMixinProps.getAwsLocation()- Parameters:
awsLocation- The AWS location of the device.- Returns:
this
-
description
Sets the value ofCfnDeviceMixinProps.getDescription()- Parameters:
description- A description of the device. Constraints: Maximum length of 256 characters.- Returns:
this
-
globalNetworkId
Sets the value ofCfnDeviceMixinProps.getGlobalNetworkId()- Parameters:
globalNetworkId- The ID of the global network.- Returns:
this
-
location
Sets the value ofCfnDeviceMixinProps.getLocation()- Parameters:
location- The site location.- Returns:
this
-
location
@Stability(Stable) public CfnDeviceMixinProps.Builder location(CfnDevicePropsMixin.LocationProperty location) Sets the value ofCfnDeviceMixinProps.getLocation()- Parameters:
location- The site location.- Returns:
this
-
model
Sets the value ofCfnDeviceMixinProps.getModel()- Parameters:
model- The model of the device. Constraints: Maximum length of 128 characters.- Returns:
this
-
serialNumber
Sets the value ofCfnDeviceMixinProps.getSerialNumber()- Parameters:
serialNumber- The serial number of the device. Constraints: Maximum length of 128 characters.- Returns:
this
-
siteId
Sets the value ofCfnDeviceMixinProps.getSiteId()- Parameters:
siteId- The site ID.- Returns:
this
-
tags
Sets the value ofCfnDeviceMixinProps.getTags()- Parameters:
tags- The tags for the device.- Returns:
this
-
type
Sets the value ofCfnDeviceMixinProps.getType()- Parameters:
type- The device type.- Returns:
this
-
vendor
Sets the value ofCfnDeviceMixinProps.getVendor()- Parameters:
vendor- The vendor of the device. Constraints: Maximum length of 128 characters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeviceMixinProps>- Returns:
- a new instance of
CfnDeviceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-