@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()
Details about the asset.
|
String |
getAssetType()
The type of asset that is added to a data set.
|
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.
|
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)
Details about the asset.
|
void |
setAssetType(String assetType)
The type of asset that is added to a data set.
|
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.
|
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)
Details about the asset.
|
UpdateAssetResult |
withAssetType(AssetType assetType)
The type of asset that is added to a data set.
|
UpdateAssetResult |
withAssetType(String assetType)
The type of asset that is added to a data set.
|
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.
|
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)
Details about the asset.
assetDetails
- Details about the asset.public AssetDetails getAssetDetails()
Details about the asset.
public UpdateAssetResult withAssetDetails(AssetDetails assetDetails)
Details about the asset.
assetDetails
- Details about the asset.public void setAssetType(String assetType)
The type of asset that is added to a data set.
assetType
- The type of asset that is added to a data set.AssetType
public String getAssetType()
The type of asset that is added to a data set.
AssetType
public UpdateAssetResult withAssetType(String assetType)
The type of asset that is added to a data set.
assetType
- The type of asset that is added to a data set.AssetType
public UpdateAssetResult withAssetType(AssetType assetType)
The type of asset that is added to a data set.
assetType
- The type of asset that is added to a data set.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 Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset name.
name
- The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name.
When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing
from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift,
the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of
"Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset
name.public String getName()
The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset name.
public UpdateAssetResult withName(String name)
The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset name.
name
- The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name.
When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing
from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift,
the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of
"Database(s) included in the LF-tag policy"- or "Table(s) included in LF-tag policy" are used as the asset
name.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()