@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.
|
String |
getPositioning()
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
|
SidewalkCreateWirelessDevice |
getSidewalk()
The device configuration information to use to create the Sidewalk device.
|
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 |
setPositioning(String positioning)
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
|
void |
setSidewalk(SidewalkCreateWirelessDevice sidewalk)
The device configuration information to use to create the Sidewalk device.
|
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 |
withPositioning(PositioningConfigStatus positioning)
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
|
CreateWirelessDeviceRequest |
withPositioning(String positioning)
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
|
CreateWirelessDeviceRequest |
withSidewalk(SidewalkCreateWirelessDevice sidewalk)
The device configuration information to use to create the Sidewalk device.
|
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. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
clientRequestToken
- Each resource must have a unique client request token. The client token is used to implement idempotency.
It ensures that the request completes no more than one time. If you retry a request with the same token
and the same parameters, the request will complete successfully. However, if you try to create a new
resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this
value, AWS SDKs will automatically generate a unique client request. For more information about
idempotency, see Ensuring idempotency in
Amazon EC2 API requests.public String getClientRequestToken()
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
public CreateWirelessDeviceRequest withClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
clientRequestToken
- Each resource must have a unique client request token. The client token is used to implement idempotency.
It ensures that the request completes no more than one time. If you retry a request with the same token
and the same parameters, the request will complete successfully. However, if you try to create a new
resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this
value, AWS SDKs will automatically generate a unique client request. For more information about
idempotency, see Ensuring idempotency in
Amazon EC2 API requests.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 void setPositioning(String positioning)
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
positioning
- FPort values for the GNSS, stream, and ClockSync functions of the positioning information.PositioningConfigStatus
public String getPositioning()
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
PositioningConfigStatus
public CreateWirelessDeviceRequest withPositioning(String positioning)
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
positioning
- FPort values for the GNSS, stream, and ClockSync functions of the positioning information.PositioningConfigStatus
public CreateWirelessDeviceRequest withPositioning(PositioningConfigStatus positioning)
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
positioning
- FPort values for the GNSS, stream, and ClockSync functions of the positioning information.PositioningConfigStatus
public void setSidewalk(SidewalkCreateWirelessDevice sidewalk)
The device configuration information to use to create the Sidewalk device.
sidewalk
- The device configuration information to use to create the Sidewalk device.public SidewalkCreateWirelessDevice getSidewalk()
The device configuration information to use to create the Sidewalk device.
public CreateWirelessDeviceRequest withSidewalk(SidewalkCreateWirelessDevice sidewalk)
The device configuration information to use to create the Sidewalk device.
sidewalk
- The device configuration information to use to create the Sidewalk device.public String toString()
toString
in class Object
Object.toString()
public CreateWirelessDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()