@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStoreImageTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateStoreImageTaskRequest>
NOOP
Constructor and Description |
---|
CreateStoreImageTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStoreImageTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBucket()
The name of the Amazon S3 bucket in which the AMI object will be stored.
|
Request<CreateStoreImageTaskRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageId()
The ID of the AMI.
|
List<S3ObjectTag> |
getS3ObjectTags()
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
int |
hashCode() |
void |
setBucket(String bucket)
The name of the Amazon S3 bucket in which the AMI object will be stored.
|
void |
setImageId(String imageId)
The ID of the AMI.
|
void |
setS3ObjectTags(Collection<S3ObjectTag> s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
CreateStoreImageTaskRequest |
withBucket(String bucket)
The name of the Amazon S3 bucket in which the AMI object will be stored.
|
CreateStoreImageTaskRequest |
withImageId(String imageId)
The ID of the AMI.
|
CreateStoreImageTaskRequest |
withS3ObjectTags(Collection<S3ObjectTag> s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
CreateStoreImageTaskRequest |
withS3ObjectTags(S3ObjectTag... s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
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, withSdkRequestTimeout
public void setImageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.public String getImageId()
The ID of the AMI.
public CreateStoreImageTaskRequest withImageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.public void setBucket(String bucket)
The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region in which the request is being made. The AMI object appears in the bucket only after the upload task has completed.
bucket
- The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region
in which the request is being made. The AMI object appears in the bucket only after the upload task has
completed.public String getBucket()
The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region in which the request is being made. The AMI object appears in the bucket only after the upload task has completed.
public CreateStoreImageTaskRequest withBucket(String bucket)
The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region in which the request is being made. The AMI object appears in the bucket only after the upload task has completed.
bucket
- The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region
in which the request is being made. The AMI object appears in the bucket only after the upload task has
completed.public List<S3ObjectTag> getS3ObjectTags()
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
public void setS3ObjectTags(Collection<S3ObjectTag> s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
s3ObjectTags
- The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.public CreateStoreImageTaskRequest withS3ObjectTags(S3ObjectTag... s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
NOTE: This method appends the values to the existing list (if any). Use
setS3ObjectTags(java.util.Collection)
or withS3ObjectTags(java.util.Collection)
if you want to
override the existing values.
s3ObjectTags
- The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.public CreateStoreImageTaskRequest withS3ObjectTags(Collection<S3ObjectTag> s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
s3ObjectTags
- The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.public Request<CreateStoreImageTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateStoreImageTaskRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateStoreImageTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()