Class CfnWirelessGatewayProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnWirelessGatewayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessGatewayProps>
- Enclosing interface:
CfnWirelessGatewayProps
@Stability(Stable)
public static final class CfnWirelessGatewayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessGatewayProps>
A builder for
CfnWirelessGatewayProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWirelessGatewayProps.getDescription()lastUplinkReceivedAt(String lastUplinkReceivedAt) Sets the value ofCfnWirelessGatewayProps.getLastUplinkReceivedAt()loRaWan(IResolvable loRaWan) Sets the value ofCfnWirelessGatewayProps.getLoRaWan()Sets the value ofCfnWirelessGatewayProps.getLoRaWan()Sets the value ofCfnWirelessGatewayProps.getName()Sets the value ofCfnWirelessGatewayProps.getTags()Sets the value ofCfnWirelessGatewayProps.getThingArn()Sets the value ofCfnWirelessGatewayProps.getThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loRaWan
Sets the value ofCfnWirelessGatewayProps.getLoRaWan()- Parameters:
loRaWan- The gateway configuration information to use to create the wireless gateway. This parameter is required.- Returns:
this
-
loRaWan
@Stability(Stable) public CfnWirelessGatewayProps.Builder loRaWan(CfnWirelessGateway.LoRaWANGatewayProperty loRaWan) Sets the value ofCfnWirelessGatewayProps.getLoRaWan()- Parameters:
loRaWan- The gateway configuration information to use to create the wireless gateway. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWirelessGatewayProps.getDescription()- Parameters:
description- The description of the new resource. The maximum length is 2048 characters.- Returns:
this
-
lastUplinkReceivedAt
@Stability(Stable) public CfnWirelessGatewayProps.Builder lastUplinkReceivedAt(String lastUplinkReceivedAt) Sets the value ofCfnWirelessGatewayProps.getLastUplinkReceivedAt()- Parameters:
lastUplinkReceivedAt- The date and time when the most recent uplink was received.- Returns:
this
-
name
Sets the value ofCfnWirelessGatewayProps.getName()- Parameters:
name- The name of the new resource.- Returns:
this
-
tags
Sets the value ofCfnWirelessGatewayProps.getTags()- Parameters:
tags- The tags are an array of key-value pairs to attach to the specified resource. Tags can have a minimum of 0 and a maximum of 50 items.- Returns:
this
-
thingArn
Sets the value ofCfnWirelessGatewayProps.getThingArn()- Parameters:
thingArn- The ARN of the thing to associate with the wireless gateway.- Returns:
this
-
thingName
Sets the value ofCfnWirelessGatewayProps.getThingName()- Parameters:
thingName- The name of the thing associated with the wireless gateway. The value is empty if a thing isn't associated with the gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWirelessGatewayProps>- Returns:
- a new instance of
CfnWirelessGatewayProps - Throws:
NullPointerException- if any required attribute was not provided
-