@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetShallow extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
AssetShallow() |
Modifier and Type | Method and Description |
---|---|
AssetShallow |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AssetShallow |
clearTagsEntries()
Removes all the entries added into Tags.
|
AssetShallow |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Asset.
|
String |
getCreatedAt()
The time the Asset was initially submitted for Ingest.
|
String |
getId()
The unique identifier for the Asset.
|
String |
getPackagingGroupId()
The ID of the PackagingGroup for the Asset.
|
String |
getResourceId()
The resource ID to include in SPEKE key requests.
|
String |
getSourceArn()
ARN of the source object in S3.
|
String |
getSourceRoleArn()
The IAM role ARN used to access the source S3 bucket.
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the Asset.
|
void |
setCreatedAt(String createdAt)
The time the Asset was initially submitted for Ingest.
|
void |
setId(String id)
The unique identifier for the Asset.
|
void |
setPackagingGroupId(String packagingGroupId)
The ID of the PackagingGroup for the Asset.
|
void |
setResourceId(String resourceId)
The resource ID to include in SPEKE key requests.
|
void |
setSourceArn(String sourceArn)
ARN of the source object in S3.
|
void |
setSourceRoleArn(String sourceRoleArn)
The IAM role ARN used to access the source S3 bucket.
|
void |
setTags(Map<String,String> tags) |
String |
toString()
Returns a string representation of this object.
|
AssetShallow |
withArn(String arn)
The ARN of the Asset.
|
AssetShallow |
withCreatedAt(String createdAt)
The time the Asset was initially submitted for Ingest.
|
AssetShallow |
withId(String id)
The unique identifier for the Asset.
|
AssetShallow |
withPackagingGroupId(String packagingGroupId)
The ID of the PackagingGroup for the Asset.
|
AssetShallow |
withResourceId(String resourceId)
The resource ID to include in SPEKE key requests.
|
AssetShallow |
withSourceArn(String sourceArn)
ARN of the source object in S3.
|
AssetShallow |
withSourceRoleArn(String sourceRoleArn)
The IAM role ARN used to access the source S3 bucket.
|
AssetShallow |
withTags(Map<String,String> tags) |
public void setArn(String arn)
arn
- The ARN of the Asset.public String getArn()
public AssetShallow withArn(String arn)
arn
- The ARN of the Asset.public void setCreatedAt(String createdAt)
createdAt
- The time the Asset was initially submitted for Ingest.public String getCreatedAt()
public AssetShallow withCreatedAt(String createdAt)
createdAt
- The time the Asset was initially submitted for Ingest.public void setId(String id)
id
- The unique identifier for the Asset.public String getId()
public AssetShallow withId(String id)
id
- The unique identifier for the Asset.public void setPackagingGroupId(String packagingGroupId)
packagingGroupId
- The ID of the PackagingGroup for the Asset.public String getPackagingGroupId()
public AssetShallow withPackagingGroupId(String packagingGroupId)
packagingGroupId
- The ID of the PackagingGroup for the Asset.public void setResourceId(String resourceId)
resourceId
- The resource ID to include in SPEKE key requests.public String getResourceId()
public AssetShallow withResourceId(String resourceId)
resourceId
- The resource ID to include in SPEKE key requests.public void setSourceArn(String sourceArn)
sourceArn
- ARN of the source object in S3.public String getSourceArn()
public AssetShallow withSourceArn(String sourceArn)
sourceArn
- ARN of the source object in S3.public void setSourceRoleArn(String sourceRoleArn)
sourceRoleArn
- The IAM role ARN used to access the source S3 bucket.public String getSourceRoleArn()
public AssetShallow withSourceRoleArn(String sourceRoleArn)
sourceRoleArn
- The IAM role ARN used to access the source S3 bucket.public AssetShallow withTags(Map<String,String> tags)
tags
- public AssetShallow addTagsEntry(String key, String value)
public AssetShallow clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public AssetShallow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.