public static final class CfnTaskDefinitionProps.Builder
extends java.lang.Object
CfnTaskDefinitionProps
Constructor and Description |
---|
Builder() |
public CfnTaskDefinitionProps.Builder autoCreateTasks(java.lang.Boolean autoCreateTasks)
CfnTaskDefinitionProps.getAutoCreateTasks()
autoCreateTasks
- Whether to automatically create tasks using this task definition for all gateways with the specified current version. This parameter is required.
If false
, the task must be created by calling CreateWirelessGatewayTask
.this
public CfnTaskDefinitionProps.Builder autoCreateTasks(IResolvable autoCreateTasks)
CfnTaskDefinitionProps.getAutoCreateTasks()
autoCreateTasks
- Whether to automatically create tasks using this task definition for all gateways with the specified current version. This parameter is required.
If false
, the task must be created by calling CreateWirelessGatewayTask
.this
public CfnTaskDefinitionProps.Builder loRaWanUpdateGatewayTaskEntry(IResolvable loRaWanUpdateGatewayTaskEntry)
CfnTaskDefinitionProps.getLoRaWanUpdateGatewayTaskEntry()
loRaWanUpdateGatewayTaskEntry
- `AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry`.this
public CfnTaskDefinitionProps.Builder loRaWanUpdateGatewayTaskEntry(CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty loRaWanUpdateGatewayTaskEntry)
CfnTaskDefinitionProps.getLoRaWanUpdateGatewayTaskEntry()
loRaWanUpdateGatewayTaskEntry
- `AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry`.this
public CfnTaskDefinitionProps.Builder name(java.lang.String name)
CfnTaskDefinitionProps.getName()
name
- The name of the new resource.this
public CfnTaskDefinitionProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnTaskDefinitionProps.getTags()
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.this
public CfnTaskDefinitionProps.Builder taskDefinitionType(java.lang.String taskDefinitionType)
CfnTaskDefinitionProps.getTaskDefinitionType()
taskDefinitionType
- `AWS::IoTWireless::TaskDefinition.TaskDefinitionType`.this
public CfnTaskDefinitionProps.Builder update(IResolvable update)
CfnTaskDefinitionProps.getUpdate()
update
- Information about the gateways to update.this
public CfnTaskDefinitionProps.Builder update(CfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty update)
CfnTaskDefinitionProps.getUpdate()
update
- Information about the gateways to update.this
public CfnTaskDefinitionProps build()
CfnTaskDefinitionProps
java.lang.NullPointerException
- if any required attribute was not provided