Class CfnTaskDefinitionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotwireless.CfnTaskDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinitionMixinProps>
- Enclosing interface:
CfnTaskDefinitionMixinProps
@Stability(Stable)
public static final class CfnTaskDefinitionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinitionMixinProps>
A builder for
CfnTaskDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoCreateTasks(Boolean autoCreateTasks) Sets the value ofCfnTaskDefinitionMixinProps.getAutoCreateTasks()autoCreateTasks(IResolvable autoCreateTasks) Sets the value ofCfnTaskDefinitionMixinProps.getAutoCreateTasks()build()Builds the configured instance.loRaWanUpdateGatewayTaskEntry(CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskEntryProperty loRaWanUpdateGatewayTaskEntry) Sets the value ofCfnTaskDefinitionMixinProps.getLoRaWanUpdateGatewayTaskEntry()loRaWanUpdateGatewayTaskEntry(IResolvable loRaWanUpdateGatewayTaskEntry) Sets the value ofCfnTaskDefinitionMixinProps.getLoRaWanUpdateGatewayTaskEntry()Sets the value ofCfnTaskDefinitionMixinProps.getName()Sets the value ofCfnTaskDefinitionMixinProps.getTags()taskDefinitionType(String taskDefinitionType) Sets the value ofCfnTaskDefinitionMixinProps.getTaskDefinitionType()Sets the value ofCfnTaskDefinitionMixinProps.getUpdate()update(IResolvable update) Sets the value ofCfnTaskDefinitionMixinProps.getUpdate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoCreateTasks
@Stability(Stable) public CfnTaskDefinitionMixinProps.Builder autoCreateTasks(Boolean autoCreateTasks) Sets the value ofCfnTaskDefinitionMixinProps.getAutoCreateTasks()- Parameters:
autoCreateTasks- Whether to automatically create tasks using this task definition for all gateways with the specified current version. Iffalse, the task must be created by callingCreateWirelessGatewayTask.- Returns:
this
-
autoCreateTasks
@Stability(Stable) public CfnTaskDefinitionMixinProps.Builder autoCreateTasks(IResolvable autoCreateTasks) Sets the value ofCfnTaskDefinitionMixinProps.getAutoCreateTasks()- Parameters:
autoCreateTasks- Whether to automatically create tasks using this task definition for all gateways with the specified current version. Iffalse, the task must be created by callingCreateWirelessGatewayTask.- Returns:
this
-
loRaWanUpdateGatewayTaskEntry
@Stability(Stable) public CfnTaskDefinitionMixinProps.Builder loRaWanUpdateGatewayTaskEntry(IResolvable loRaWanUpdateGatewayTaskEntry) Sets the value ofCfnTaskDefinitionMixinProps.getLoRaWanUpdateGatewayTaskEntry()- Parameters:
loRaWanUpdateGatewayTaskEntry- LoRaWANUpdateGatewayTaskEntry object.- Returns:
this
-
loRaWanUpdateGatewayTaskEntry
@Stability(Stable) public CfnTaskDefinitionMixinProps.Builder loRaWanUpdateGatewayTaskEntry(CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskEntryProperty loRaWanUpdateGatewayTaskEntry) Sets the value ofCfnTaskDefinitionMixinProps.getLoRaWanUpdateGatewayTaskEntry()- Parameters:
loRaWanUpdateGatewayTaskEntry- LoRaWANUpdateGatewayTaskEntry object.- Returns:
this
-
name
Sets the value ofCfnTaskDefinitionMixinProps.getName()- Parameters:
name- The name of the new resource.- Returns:
this
-
tags
Sets the value ofCfnTaskDefinitionMixinProps.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
-
taskDefinitionType
@Stability(Stable) public CfnTaskDefinitionMixinProps.Builder taskDefinitionType(String taskDefinitionType) Sets the value ofCfnTaskDefinitionMixinProps.getTaskDefinitionType()- Parameters:
taskDefinitionType- A filter to list only the wireless gateway task definitions that use this task definition type.- Returns:
this
-
update
Sets the value ofCfnTaskDefinitionMixinProps.getUpdate()- Parameters:
update- Information about the gateways to update.- Returns:
this
-
update
@Stability(Stable) public CfnTaskDefinitionMixinProps.Builder update(CfnTaskDefinitionPropsMixin.UpdateWirelessGatewayTaskCreateProperty update) Sets the value ofCfnTaskDefinitionMixinProps.getUpdate()- Parameters:
update- Information about the gateways to update.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinitionMixinProps>- Returns:
- a new instance of
CfnTaskDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-