@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAssetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAssetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAssetRequest |
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 |
getAssetExternalId()
An external ID to assign to the asset.
|
String |
getAssetId()
The ID of the asset to update.
|
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.
|
int |
hashCode() |
void |
setAssetDescription(String assetDescription)
A description for the asset.
|
void |
setAssetExternalId(String assetExternalId)
An external ID to assign to the asset.
|
void |
setAssetId(String assetId)
The ID of the asset to update.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssetRequest |
withAssetDescription(String assetDescription)
A description for the asset.
|
UpdateAssetRequest |
withAssetExternalId(String assetExternalId)
An external ID to assign to the asset.
|
UpdateAssetRequest |
withAssetId(String assetId)
The ID of the asset to update.
|
UpdateAssetRequest |
withAssetName(String assetName)
A friendly name for the asset.
|
UpdateAssetRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
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 setAssetId(String assetId)
The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
assetId
- The ID of the asset to update. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public String getAssetId()
The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.public UpdateAssetRequest withAssetId(String assetId)
The ID of the asset to update. This can be either the actual ID in UUID format, or else externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
assetId
- The ID of the asset to update. This can be either the actual ID in UUID format, or else
externalId:
followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.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 UpdateAssetRequest withAssetName(String assetName)
A friendly name for the asset.
assetName
- A friendly name for 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 UpdateAssetRequest 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 void setAssetDescription(String assetDescription)
A description for the asset.
assetDescription
- A description for the asset.public String getAssetDescription()
A description for the asset.
public UpdateAssetRequest withAssetDescription(String assetDescription)
A description for the asset.
assetDescription
- A description for the asset.public void setAssetExternalId(String assetExternalId)
An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
assetExternalId
- An external ID to assign to the asset. The asset must not already have an external ID. The external ID
must be unique within your Amazon Web Services account. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getAssetExternalId()
An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
public UpdateAssetRequest withAssetExternalId(String assetExternalId)
An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
assetExternalId
- An external ID to assign to the asset. The asset must not already have an external ID. The external ID
must be unique within your Amazon Web Services account. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String toString()
toString
in class Object
Object.toString()
public UpdateAssetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()