@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAssetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request body for UpdateAsset.
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 |
getAssetId()
The unique identifier for an asset.
|
String |
getDataSetId()
The unique identifier for a data set.
|
String |
getName()
The name of the asset.
|
String |
getRevisionId()
The unique identifier for a revision.
|
int |
hashCode() |
void |
setAssetId(String assetId)
The unique identifier for an asset.
|
void |
setDataSetId(String dataSetId)
The unique identifier for a data set.
|
void |
setName(String name)
The name of the asset.
|
void |
setRevisionId(String revisionId)
The unique identifier for a revision.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssetRequest |
withAssetId(String assetId)
The unique identifier for an asset.
|
UpdateAssetRequest |
withDataSetId(String dataSetId)
The unique identifier for a data set.
|
UpdateAssetRequest |
withName(String name)
The name of the asset.
|
UpdateAssetRequest |
withRevisionId(String revisionId)
The unique identifier for a revision.
|
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 unique identifier for an asset.
assetId
- The unique identifier for an asset.public String getAssetId()
The unique identifier for an asset.
public UpdateAssetRequest withAssetId(String assetId)
The unique identifier for an asset.
assetId
- The unique identifier for an asset.public void setDataSetId(String dataSetId)
The unique identifier for a data set.
dataSetId
- The unique identifier for a data set.public String getDataSetId()
The unique identifier for a data set.
public UpdateAssetRequest withDataSetId(String dataSetId)
The unique identifier for a data set.
dataSetId
- The unique identifier for a data set.public void setName(String name)
The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.
name
- The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When
exporting to Amazon S3, the asset name is used as default target S3 object key.public String getName()
The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.
public UpdateAssetRequest withName(String name)
The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.
name
- The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When
exporting to Amazon S3, the asset name is used as default target S3 object key.public void setRevisionId(String revisionId)
The unique identifier for a revision.
revisionId
- The unique identifier for a revision.public String getRevisionId()
The unique identifier for a revision.
public UpdateAssetRequest withRevisionId(String revisionId)
The unique identifier for a revision.
revisionId
- The unique identifier for a revision.public String toString()
toString
in class Object
Object.toString()
public UpdateAssetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()