@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAssetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateAssetResult() |
Modifier and Type | Method and Description |
---|---|
UpdateAssetResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN for the asset.
|
AssetDetails |
getAssetDetails()
Information about the asset, including its size.
|
String |
getAssetType()
The type of file your data is stored in.
|
Date |
getCreatedAt()
The date and time that the asset was created, in ISO 8601 format.
|
String |
getDataSetId()
The unique identifier for the data set associated with this asset.
|
String |
getId()
The unique identifier for the asset.
|
String |
getName()
The name of the asset When importing from Amazon S3, the S3 object key is used as the asset name.
|
String |
getRevisionId()
The unique identifier for the revision associated with this asset.
|
String |
getSourceId()
The asset ID of the owned asset corresponding to the entitled asset being viewed.
|
Date |
getUpdatedAt()
The date and time that the asset was last updated, in ISO 8601 format.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN for the asset.
|
void |
setAssetDetails(AssetDetails assetDetails)
Information about the asset, including its size.
|
void |
setAssetType(String assetType)
The type of file your data is stored in.
|
void |
setCreatedAt(Date createdAt)
The date and time that the asset was created, in ISO 8601 format.
|
void |
setDataSetId(String dataSetId)
The unique identifier for the data set associated with this asset.
|
void |
setId(String id)
The unique identifier for the asset.
|
void |
setName(String name)
The name of the asset When importing from Amazon S3, the S3 object key is used as the asset name.
|
void |
setRevisionId(String revisionId)
The unique identifier for the revision associated with this asset.
|
void |
setSourceId(String sourceId)
The asset ID of the owned asset corresponding to the entitled asset being viewed.
|
void |
setUpdatedAt(Date updatedAt)
The date and time that the asset was last updated, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssetResult |
withArn(String arn)
The ARN for the asset.
|
UpdateAssetResult |
withAssetDetails(AssetDetails assetDetails)
Information about the asset, including its size.
|
UpdateAssetResult |
withAssetType(AssetType assetType)
The type of file your data is stored in.
|
UpdateAssetResult |
withAssetType(String assetType)
The type of file your data is stored in.
|
UpdateAssetResult |
withCreatedAt(Date createdAt)
The date and time that the asset was created, in ISO 8601 format.
|
UpdateAssetResult |
withDataSetId(String dataSetId)
The unique identifier for the data set associated with this asset.
|
UpdateAssetResult |
withId(String id)
The unique identifier for the asset.
|
UpdateAssetResult |
withName(String name)
The name of the asset When importing from Amazon S3, the S3 object key is used as the asset name.
|
UpdateAssetResult |
withRevisionId(String revisionId)
The unique identifier for the revision associated with this asset.
|
UpdateAssetResult |
withSourceId(String sourceId)
The asset ID of the owned asset corresponding to the entitled asset being viewed.
|
UpdateAssetResult |
withUpdatedAt(Date updatedAt)
The date and time that the asset was last updated, in ISO 8601 format.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN for the asset.
arn
- The ARN for the asset.public String getArn()
The ARN for the asset.
public UpdateAssetResult withArn(String arn)
The ARN for the asset.
arn
- The ARN for the asset.public void setAssetDetails(AssetDetails assetDetails)
Information about the asset, including its size.
assetDetails
- Information about the asset, including its size.public AssetDetails getAssetDetails()
Information about the asset, including its size.
public UpdateAssetResult withAssetDetails(AssetDetails assetDetails)
Information about the asset, including its size.
assetDetails
- Information about the asset, including its size.public void setAssetType(String assetType)
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
assetType
- The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.AssetType
public String getAssetType()
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
AssetType
public UpdateAssetResult withAssetType(String assetType)
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
assetType
- The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.AssetType
public UpdateAssetResult withAssetType(AssetType assetType)
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
assetType
- The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.AssetType
public void setCreatedAt(Date createdAt)
The date and time that the asset was created, in ISO 8601 format.
createdAt
- The date and time that the asset was created, in ISO 8601 format.public Date getCreatedAt()
The date and time that the asset was created, in ISO 8601 format.
public UpdateAssetResult withCreatedAt(Date createdAt)
The date and time that the asset was created, in ISO 8601 format.
createdAt
- The date and time that the asset was created, in ISO 8601 format.public void setDataSetId(String dataSetId)
The unique identifier for the data set associated with this asset.
dataSetId
- The unique identifier for the data set associated with this asset.public String getDataSetId()
The unique identifier for the data set associated with this asset.
public UpdateAssetResult withDataSetId(String dataSetId)
The unique identifier for the data set associated with this asset.
dataSetId
- The unique identifier for the data set associated with this asset.public void setId(String id)
The unique identifier for the asset.
id
- The unique identifier for the asset.public String getId()
The unique identifier for the asset.
public UpdateAssetResult withId(String id)
The unique identifier for the asset.
id
- The unique identifier for the asset.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 UpdateAssetResult 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 the revision associated with this asset.
revisionId
- The unique identifier for the revision associated with this asset.public String getRevisionId()
The unique identifier for the revision associated with this asset.
public UpdateAssetResult withRevisionId(String revisionId)
The unique identifier for the revision associated with this asset.
revisionId
- The unique identifier for the revision associated with this asset.public void setSourceId(String sourceId)
The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
sourceId
- The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is
returned when an asset owner is viewing the entitled copy of its owned asset.public String getSourceId()
The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
public UpdateAssetResult withSourceId(String sourceId)
The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
sourceId
- The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is
returned when an asset owner is viewing the entitled copy of its owned asset.public void setUpdatedAt(Date updatedAt)
The date and time that the asset was last updated, in ISO 8601 format.
updatedAt
- The date and time that the asset was last updated, in ISO 8601 format.public Date getUpdatedAt()
The date and time that the asset was last updated, in ISO 8601 format.
public UpdateAssetResult withUpdatedAt(Date updatedAt)
The date and time that the asset was last updated, in ISO 8601 format.
updatedAt
- The date and time that the asset was last updated, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public UpdateAssetResult clone()