public static interface CreateStoreImageTaskRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>
Modifier and Type | Method and Description |
---|---|
CreateStoreImageTaskRequest.Builder |
bucket(String bucket)
The name of the Amazon S3 bucket in which the AMI object will be stored.
|
CreateStoreImageTaskRequest.Builder |
imageId(String imageId)
The ID of the AMI.
|
CreateStoreImageTaskRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateStoreImageTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateStoreImageTaskRequest.Builder |
s3ObjectTags(Collection<S3ObjectTag> s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
CreateStoreImageTaskRequest.Builder |
s3ObjectTags(Consumer<S3ObjectTag.Builder>... s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
CreateStoreImageTaskRequest.Builder |
s3ObjectTags(S3ObjectTag... s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateStoreImageTaskRequest.Builder imageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.CreateStoreImageTaskRequest.Builder bucket(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.CreateStoreImageTaskRequest.Builder s3ObjectTags(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.CreateStoreImageTaskRequest.Builder s3ObjectTags(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.CreateStoreImageTaskRequest.Builder s3ObjectTags(Consumer<S3ObjectTag.Builder>... s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
This is a convenience method that creates an instance of theS3ObjectTag.Builder
avoiding the need to create one
manually via S3ObjectTag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #s3ObjectTags(List
.
s3ObjectTags
- a consumer that will call methods on
S3ObjectTag.Builder
#s3ObjectTags(java.util.Collection)
CreateStoreImageTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateStoreImageTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.