@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 |
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 |
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 |
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.
assetId
- The ID of the asset to update.public String getAssetId()
The ID of the asset to update.
public UpdateAssetRequest withAssetId(String assetId)
The ID of the asset to update.
assetId
- The ID of the asset to update.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 String toString()
toString
in class Object
Object.toString()
public UpdateAssetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()