@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateAssetRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateAssetRequest | 
addTagsEntry(String key,
            String value)
Add a single Tags entry 
 | 
CreateAssetRequest | 
clearTagsEntries()
Removes all the entries added into Tags. 
 | 
CreateAssetRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
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 | 
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. 
 | 
CreateAssetRequest | 
withId(String id)
The unique identifier for the Asset. 
 | 
CreateAssetRequest | 
withPackagingGroupId(String packagingGroupId)
The ID of the PackagingGroup for the Asset. 
 | 
CreateAssetRequest | 
withResourceId(String resourceId)
The resource ID to include in SPEKE key requests. 
 | 
CreateAssetRequest | 
withSourceArn(String sourceArn)
ARN of the source object in S3. 
 | 
CreateAssetRequest | 
withSourceRoleArn(String sourceRoleArn)
The IAM role ARN used to access the source S3 bucket. 
 | 
CreateAssetRequest | 
withTags(Map<String,String> tags)  | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setId(String id)
id - The unique identifier for the Asset.public String getId()
public CreateAssetRequest 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 CreateAssetRequest 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 CreateAssetRequest 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 CreateAssetRequest 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 CreateAssetRequest withSourceRoleArn(String sourceRoleArn)
sourceRoleArn - The IAM role ARN used to access the source S3 bucket.public CreateAssetRequest withTags(Map<String,String> tags)
tags - public CreateAssetRequest addTagsEntry(String key, String value)
public CreateAssetRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateAssetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()