@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 |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Asset.
|
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.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the Asset.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
CreateAssetResult |
withArn(String arn)
The ARN of the Asset.
|
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.
|
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 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 String toString()
toString
in class Object
Object.toString()
public CreateAssetResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.