@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeviceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDeviceProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeviceProfileRequest |
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.
|
LoRaWANDeviceProfile |
getLoRaWAN()
The device profile information to use to create the device profile.
|
String |
getName()
The name of the new resource.
|
List<Tag> |
getTags()
The tags to attach to the new device profile.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token.
|
void |
setLoRaWAN(LoRaWANDeviceProfile loRaWAN)
The device profile information to use to create the device profile.
|
void |
setName(String name)
The name of the new resource.
|
void |
setTags(Collection<Tag> tags)
The tags to attach to the new device profile.
|
String |
toString()
Returns a string representation of this object.
|
CreateDeviceProfileRequest |
withClientRequestToken(String clientRequestToken)
Each resource must have a unique client request token.
|
CreateDeviceProfileRequest |
withLoRaWAN(LoRaWANDeviceProfile loRaWAN)
The device profile information to use to create the device profile.
|
CreateDeviceProfileRequest |
withName(String name)
The name of the new resource.
|
CreateDeviceProfileRequest |
withTags(Collection<Tag> tags)
The tags to attach to the new device profile.
|
CreateDeviceProfileRequest |
withTags(Tag... tags)
The tags to attach to the new device profile.
|
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 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 CreateDeviceProfileRequest withName(String name)
The name of the new resource.
name
- The name of the new resource.public void setLoRaWAN(LoRaWANDeviceProfile loRaWAN)
The device profile information to use to create the device profile.
loRaWAN
- The device profile information to use to create the device profile.public LoRaWANDeviceProfile getLoRaWAN()
The device profile information to use to create the device profile.
public CreateDeviceProfileRequest withLoRaWAN(LoRaWANDeviceProfile loRaWAN)
The device profile information to use to create the device profile.
loRaWAN
- The device profile information to use to create the device profile.public List<Tag> getTags()
The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.
public void setTags(Collection<Tag> tags)
The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.
tags
- The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.public CreateDeviceProfileRequest withTags(Tag... tags)
The tags to attach to the new device profile. 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 device profile. Tags are metadata that you can use to manage a resource.public CreateDeviceProfileRequest withTags(Collection<Tag> tags)
The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.
tags
- The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.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 CreateDeviceProfileRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateDeviceProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()