@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateAssetResult() |
Modifier and Type | Method and Description |
---|---|
CreateAssetResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAssetResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAssetResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Asset.
|
String |
getCreatedAt()
The time the Asset was initially submitted for Ingest.
|
List<EgressEndpoint> |
getEgressEndpoints()
The list of egress endpoints available for the Asset.
|
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 |
setArn(String arn)
The ARN of the Asset.
|
void |
setCreatedAt(String createdAt)
The time the Asset was initially submitted for Ingest.
|
void |
setEgressEndpoints(Collection<EgressEndpoint> egressEndpoints)
The list of egress endpoints available for the Asset.
|
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.
|
CreateAssetResult |
withArn(String arn)
The ARN of the Asset.
|
CreateAssetResult |
withCreatedAt(String createdAt)
The time the Asset was initially submitted for Ingest.
|
CreateAssetResult |
withEgressEndpoints(Collection<EgressEndpoint> egressEndpoints)
The list of egress endpoints available for the Asset.
|
CreateAssetResult |
withEgressEndpoints(EgressEndpoint... egressEndpoints)
The list of egress endpoints available for the Asset.
|
CreateAssetResult |
withId(String id)
The unique identifier for the Asset.
|
CreateAssetResult |
withPackagingGroupId(String packagingGroupId)
The ID of the PackagingGroup for the Asset.
|
CreateAssetResult |
withResourceId(String resourceId)
The resource ID to include in SPEKE key requests.
|
CreateAssetResult |
withSourceArn(String sourceArn)
ARN of the source object in S3.
|
CreateAssetResult |
withSourceRoleArn(String sourceRoleArn)
The IAM role_arn used to access the source S3 bucket.
|
CreateAssetResult |
withTags(Map<String,String> tags) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- The ARN of the Asset.public String getArn()
public CreateAssetResult 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 CreateAssetResult withCreatedAt(String createdAt)
createdAt
- The time the Asset was initially submitted for Ingest.public List<EgressEndpoint> getEgressEndpoints()
public void setEgressEndpoints(Collection<EgressEndpoint> egressEndpoints)
egressEndpoints
- The list of egress endpoints available for the Asset.public CreateAssetResult withEgressEndpoints(EgressEndpoint... egressEndpoints)
NOTE: This method appends the values to the existing list (if any). Use
setEgressEndpoints(java.util.Collection)
or withEgressEndpoints(java.util.Collection)
if you
want to override the existing values.
egressEndpoints
- The list of egress endpoints available for the Asset.public CreateAssetResult withEgressEndpoints(Collection<EgressEndpoint> egressEndpoints)
egressEndpoints
- The list of egress endpoints available for the Asset.public void setId(String id)
id
- The unique identifier for the Asset.public String getId()
public CreateAssetResult 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 CreateAssetResult 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 CreateAssetResult 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 CreateAssetResult 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 CreateAssetResult withSourceRoleArn(String sourceRoleArn)
sourceRoleArn
- The IAM role_arn used to access the source S3 bucket.public CreateAssetResult withTags(Map<String,String> tags)
tags
- public CreateAssetResult addTagsEntry(String key, String value)
public CreateAssetResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAssetResult clone()