@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssetRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAssetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAssetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssetDescription()
A description for the asset.
|
String |
getAssetModelId()
The ID of the asset model from which to create the asset.
|
String |
getAssetName()
A friendly name for the asset.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the asset.
|
int |
hashCode() |
void |
setAssetDescription(String assetDescription)
A description for the asset.
|
void |
setAssetModelId(String assetModelId)
The ID of the asset model from which to create the asset.
|
void |
setAssetName(String assetName)
A friendly name for the asset.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset.
|
String |
toString()
Returns a string representation of this object.
|
CreateAssetRequest |
withAssetDescription(String assetDescription)
A description for the asset.
|
CreateAssetRequest |
withAssetModelId(String assetModelId)
The ID of the asset model from which to create the asset.
|
CreateAssetRequest |
withAssetName(String assetName)
A friendly name for the asset.
|
CreateAssetRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
CreateAssetRequest |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset.
|
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 setAssetName(String assetName)
A friendly name for the asset.
assetName
- A friendly name for the asset.public String getAssetName()
A friendly name for the asset.
public CreateAssetRequest withAssetName(String assetName)
A friendly name for the asset.
assetName
- A friendly name for the asset.public void setAssetModelId(String assetModelId)
The ID of the asset model from which to create the asset.
assetModelId
- The ID of the asset model from which to create the asset.public String getAssetModelId()
The ID of the asset model from which to create the asset.
public CreateAssetRequest withAssetModelId(String assetModelId)
The ID of the asset model from which to create the asset.
assetModelId
- The ID of the asset model from which to create the asset.public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public CreateAssetRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public Map<String,String> getTags()
A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
public void setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT
SiteWise resources in the IoT SiteWise User Guide.public CreateAssetRequest withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT
SiteWise resources in the IoT SiteWise User Guide.public CreateAssetRequest addTagsEntry(String key, String value)
public CreateAssetRequest clearTagsEntries()
public void setAssetDescription(String assetDescription)
A description for the asset.
assetDescription
- A description for the asset.public String getAssetDescription()
A description for the asset.
public CreateAssetRequest withAssetDescription(String assetDescription)
A description for the asset.
assetDescription
- A description for the asset.public String toString()
toString
in class Object
Object.toString()
public CreateAssetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()