@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWirelessDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWirelessDeviceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWirelessDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Each resource must have a unique client request token.
|
String |
getDescription()
The description of the new resource.
|
String |
getDestinationName()
The name of the destination to assign to the new wireless device.
|
LoRaWANDevice |
getLoRaWAN()
The device configuration information to use to create the wireless device.
|
String |
getName()
The name of the new resource.
|
List<Tag> |
getTags()
The tags to attach to the new wireless device.
|
String |
getType()
The wireless device type.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token.
|
void |
setDescription(String description)
The description of the new resource.
|
void |
setDestinationName(String destinationName)
The name of the destination to assign to the new wireless device.
|
void |
setLoRaWAN(LoRaWANDevice loRaWAN)
The device configuration information to use to create the wireless device.
|
void |
setName(String name)
The name of the new resource.
|
void |
setTags(Collection<Tag> tags)
The tags to attach to the new wireless device.
|
void |
setType(String type)
The wireless device type.
|
String |
toString()
Returns a string representation of this object.
|
CreateWirelessDeviceRequest |
withClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token.
|
CreateWirelessDeviceRequest |
withDescription(String description)
The description of the new resource.
|
CreateWirelessDeviceRequest |
withDestinationName(String destinationName)
The name of the destination to assign to the new wireless device.
|
CreateWirelessDeviceRequest |
withLoRaWAN(LoRaWANDevice loRaWAN)
The device configuration information to use to create the wireless device.
|
CreateWirelessDeviceRequest |
withName(String name)
The name of the new resource.
|
CreateWirelessDeviceRequest |
withTags(Collection<Tag> tags)
The tags to attach to the new wireless device.
|
CreateWirelessDeviceRequest |
withTags(Tag... tags)
The tags to attach to the new wireless device.
|
CreateWirelessDeviceRequest |
withType(String type)
The wireless device type.
|
CreateWirelessDeviceRequest |
withType(WirelessDeviceType type)
The wireless device type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setType(String type)
The wireless device type.
type
- The wireless device type.WirelessDeviceType
public String getType()
The wireless device type.
WirelessDeviceType
public CreateWirelessDeviceRequest withType(String type)
The wireless device type.
type
- The wireless device type.WirelessDeviceType
public CreateWirelessDeviceRequest withType(WirelessDeviceType type)
The wireless device type.
type
- The wireless device type.WirelessDeviceType
public void setName(String name)
The name of the new resource.
name
- The name of the new resource.public String getName()
The name of the new resource.
public CreateWirelessDeviceRequest withName(String name)
The name of the new resource.
name
- The name of the new resource.public void setDescription(String description)
The description of the new resource.
description
- The description of the new resource.public String getDescription()
The description of the new resource.
public CreateWirelessDeviceRequest withDescription(String description)
The description of the new resource.
description
- The description of the new resource.public void setDestinationName(String destinationName)
The name of the destination to assign to the new wireless device.
destinationName
- The name of the destination to assign to the new wireless device.public String getDestinationName()
The name of the destination to assign to the new wireless device.
public CreateWirelessDeviceRequest withDestinationName(String destinationName)
The name of the destination to assign to the new wireless device.
destinationName
- The name of the destination to assign to the new wireless device.public void setClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
clientRequestToken
- Each resource must have a unique client request token. If you try to create a new resource with the same
token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will
automatically generate a unique client request.public String getClientRequestToken()
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
public CreateWirelessDeviceRequest withClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
clientRequestToken
- Each resource must have a unique client request token. If you try to create a new resource with the same
token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will
automatically generate a unique client request.public void setLoRaWAN(LoRaWANDevice loRaWAN)
The device configuration information to use to create the wireless device.
loRaWAN
- The device configuration information to use to create the wireless device.public LoRaWANDevice getLoRaWAN()
The device configuration information to use to create the wireless device.
public CreateWirelessDeviceRequest withLoRaWAN(LoRaWANDevice loRaWAN)
The device configuration information to use to create the wireless device.
loRaWAN
- The device configuration information to use to create the wireless device.public List<Tag> getTags()
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
public void setTags(Collection<Tag> tags)
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
tags
- The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.public CreateWirelessDeviceRequest withTags(Tag... tags)
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.public CreateWirelessDeviceRequest withTags(Collection<Tag> tags)
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
tags
- The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.public String toString()
toString
in class Object
Object.toString()
public CreateWirelessDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()