Interface CreateStoreImageTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>
,Ec2Request.Builder
,SdkBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateStoreImageTaskRequest
public static interface CreateStoreImageTaskRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateStoreImageTaskRequest.Builder
bucket(String bucket)
The name of the Amazon S3 bucket in which the AMI object will be stored.CreateStoreImageTaskRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.CreateStoreImageTaskRequest.Builder
imageId(String imageId)
The ID of the AMI.CreateStoreImageTaskRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateStoreImageTaskRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
imageId
CreateStoreImageTaskRequest.Builder imageId(String imageId)
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ObjectTags
CreateStoreImageTaskRequest.Builder s3ObjectTags(Collection<S3ObjectTag> s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
- Parameters:
s3ObjectTags
- The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ObjectTags
CreateStoreImageTaskRequest.Builder s3ObjectTags(S3ObjectTag... s3ObjectTags)
The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
- Parameters:
s3ObjectTags
- The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ObjectTags
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 viaS3ObjectTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#s3ObjectTags(List
.) - Parameters:
s3ObjectTags
- a consumer that will call methods onS3ObjectTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#s3ObjectTags(java.util.Collection
)
-
dryRun
CreateStoreImageTaskRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStoreImageTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStoreImageTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-