@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetEntry extends Object implements Serializable, Cloneable, StructuredPojo
An asset in AWS Data Exchange is a piece of data that can be stored as an S3 object. The asset can be a structured data file, an image file, or some other data file. When you create an import job for your files, you create an asset in AWS Data Exchange for each of those files.
Constructor and Description |
---|
AssetEntry() |
Modifier and Type | Method and Description |
---|---|
AssetEntry |
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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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.
|
AssetEntry |
withArn(String arn)
The ARN for the asset.
|
AssetEntry |
withAssetDetails(AssetDetails assetDetails)
Information about the asset, including its size.
|
AssetEntry |
withAssetType(AssetType assetType)
The type of file your data is stored in.
|
AssetEntry |
withAssetType(String assetType)
The type of file your data is stored in.
|
AssetEntry |
withCreatedAt(Date createdAt)
The date and time that the asset was created, in ISO 8601 format.
|
AssetEntry |
withDataSetId(String dataSetId)
The unique identifier for the data set associated with this asset.
|
AssetEntry |
withId(String id)
The unique identifier for the asset.
|
AssetEntry |
withName(String name)
The name of the asset.
|
AssetEntry |
withRevisionId(String revisionId)
The unique identifier for the revision associated with this asset.
|
AssetEntry |
withSourceId(String sourceId)
The asset ID of the owned asset corresponding to the entitled asset being viewed.
|
AssetEntry |
withUpdatedAt(Date updatedAt)
The date and time that the asset was last updated, in ISO 8601 format.
|
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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry 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 AssetEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.