Class CfnFuotaTaskProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnFuotaTaskProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFuotaTaskProps>
- Enclosing interface:
- CfnFuotaTaskProps
@Stability(Stable)
public static final class CfnFuotaTaskProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFuotaTaskProps>
A builder for
CfnFuotaTaskProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociateMulticastGroup(String associateMulticastGroup) Sets the value ofCfnFuotaTaskProps.getAssociateMulticastGroup()associateWirelessDevice(String associateWirelessDevice) Sets the value ofCfnFuotaTaskProps.getAssociateWirelessDevice()build()Builds the configured instance.description(String description) Sets the value ofCfnFuotaTaskProps.getDescription()disassociateMulticastGroup(String disassociateMulticastGroup) Sets the value ofCfnFuotaTaskProps.getDisassociateMulticastGroup()disassociateWirelessDevice(String disassociateWirelessDevice) Sets the value ofCfnFuotaTaskProps.getDisassociateWirelessDevice()firmwareUpdateImage(String firmwareUpdateImage) Sets the value ofCfnFuotaTaskProps.getFirmwareUpdateImage()firmwareUpdateRole(String firmwareUpdateRole) Sets the value ofCfnFuotaTaskProps.getFirmwareUpdateRole()loRaWan(IResolvable loRaWan) Sets the value ofCfnFuotaTaskProps.getLoRaWan()loRaWan(CfnFuotaTask.LoRaWANProperty loRaWan) Sets the value ofCfnFuotaTaskProps.getLoRaWan()Sets the value ofCfnFuotaTaskProps.getName()Sets the value ofCfnFuotaTaskProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
firmwareUpdateImage
Sets the value ofCfnFuotaTaskProps.getFirmwareUpdateImage()- Parameters:
firmwareUpdateImage- The S3 URI points to a firmware update image that is to be used with a FUOTA task. This parameter is required.- Returns:
this
-
firmwareUpdateRole
Sets the value ofCfnFuotaTaskProps.getFirmwareUpdateRole()- Parameters:
firmwareUpdateRole- The firmware update role that is to be used with a FUOTA task. This parameter is required.- Returns:
this
-
loRaWan
Sets the value ofCfnFuotaTaskProps.getLoRaWan()- Parameters:
loRaWan- The LoRaWAN information used with a FUOTA task. This parameter is required.- Returns:
this
-
loRaWan
Sets the value ofCfnFuotaTaskProps.getLoRaWan()- Parameters:
loRaWan- The LoRaWAN information used with a FUOTA task. This parameter is required.- Returns:
this
-
associateMulticastGroup
@Stability(Stable) public CfnFuotaTaskProps.Builder associateMulticastGroup(String associateMulticastGroup) Sets the value ofCfnFuotaTaskProps.getAssociateMulticastGroup()- Parameters:
associateMulticastGroup- The ID of the multicast group to associate with a FUOTA task.- Returns:
this
-
associateWirelessDevice
@Stability(Stable) public CfnFuotaTaskProps.Builder associateWirelessDevice(String associateWirelessDevice) Sets the value ofCfnFuotaTaskProps.getAssociateWirelessDevice()- Parameters:
associateWirelessDevice- The ID of the wireless device to associate with a multicast group.- Returns:
this
-
description
Sets the value ofCfnFuotaTaskProps.getDescription()- Parameters:
description- The description of the new resource.- Returns:
this
-
disassociateMulticastGroup
@Stability(Stable) public CfnFuotaTaskProps.Builder disassociateMulticastGroup(String disassociateMulticastGroup) Sets the value ofCfnFuotaTaskProps.getDisassociateMulticastGroup()- Parameters:
disassociateMulticastGroup- The ID of the multicast group to disassociate from a FUOTA task.- Returns:
this
-
disassociateWirelessDevice
@Stability(Stable) public CfnFuotaTaskProps.Builder disassociateWirelessDevice(String disassociateWirelessDevice) Sets the value ofCfnFuotaTaskProps.getDisassociateWirelessDevice()- Parameters:
disassociateWirelessDevice- The ID of the wireless device to disassociate from a FUOTA task.- Returns:
this
-
name
Sets the value ofCfnFuotaTaskProps.getName()- Parameters:
name- The name of a FUOTA task.- Returns:
this
-
tags
Sets the value ofCfnFuotaTaskProps.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFuotaTaskProps>- Returns:
- a new instance of
CfnFuotaTaskProps - Throws:
NullPointerException- if any required attribute was not provided
-