Class CfnTaskDefinition.Builder

java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnTaskDefinition.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinition>
Enclosing class:
CfnTaskDefinition

@Stability(Stable) public static final class CfnTaskDefinition.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition>
A fluent builder for CfnTaskDefinition.
  • Method Details

    • create

      @Stability(Stable) public static CfnTaskDefinition.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnTaskDefinition.Builder.
    • autoCreateTasks

      @Stability(Stable) public CfnTaskDefinition.Builder autoCreateTasks(Boolean autoCreateTasks)
      Whether to automatically create tasks using this task definition for all gateways with the specified current version.

      If false , the task must be created by calling CreateWirelessGatewayTask .

      Parameters:
      autoCreateTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. This parameter is required.
      Returns:
      this
    • autoCreateTasks

      @Stability(Stable) public CfnTaskDefinition.Builder autoCreateTasks(IResolvable autoCreateTasks)
      Whether to automatically create tasks using this task definition for all gateways with the specified current version.

      If false , the task must be created by calling CreateWirelessGatewayTask .

      Parameters:
      autoCreateTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. This parameter is required.
      Returns:
      this
    • loRaWanUpdateGatewayTaskEntry

      @Stability(Stable) public CfnTaskDefinition.Builder loRaWanUpdateGatewayTaskEntry(IResolvable loRaWanUpdateGatewayTaskEntry)
      AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry.

      Parameters:
      loRaWanUpdateGatewayTaskEntry - AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry. This parameter is required.
      Returns:
      this
    • loRaWanUpdateGatewayTaskEntry

      @Stability(Stable) public CfnTaskDefinition.Builder loRaWanUpdateGatewayTaskEntry(CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty loRaWanUpdateGatewayTaskEntry)
      AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry.

      Parameters:
      loRaWanUpdateGatewayTaskEntry - AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnTaskDefinition.Builder name(String name)
      The name of the new resource.

      Parameters:
      name - The name of the new resource. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnTaskDefinition.Builder tags(List<? extends CfnTag> 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.

      Parameters:
      tags - The tags are an array of key-value pairs to attach to the specified resource. This parameter is required.
      Returns:
      this
    • taskDefinitionType

      @Stability(Stable) public CfnTaskDefinition.Builder taskDefinitionType(String taskDefinitionType)
      AWS::IoTWireless::TaskDefinition.TaskDefinitionType.

      Parameters:
      taskDefinitionType - AWS::IoTWireless::TaskDefinition.TaskDefinitionType. This parameter is required.
      Returns:
      this
    • update

      @Stability(Stable) public CfnTaskDefinition.Builder update(IResolvable update)
      Information about the gateways to update.

      Parameters:
      update - Information about the gateways to update. This parameter is required.
      Returns:
      this
    • update

      Information about the gateways to update.

      Parameters:
      update - Information about the gateways to update. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnTaskDefinition build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTaskDefinition>
      Returns:
      a newly built instance of CfnTaskDefinition.