Struct aws_sdk_ec2::input::create_restore_image_task_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CreateRestoreImageTaskInput
Implementations
The name of the Amazon S3 bucket that contains the stored AMI object.
The name of the Amazon S3 bucket that contains the stored AMI object.
The name of the stored AMI object in the bucket.
The name of the stored AMI object in the bucket.
The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.
The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.
Appends an item to tag_specifications
.
To override the contents of this collection use set_tag_specifications
.
The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.
-
To tag the AMI, the value for
ResourceType
must beimage
. -
To tag the snapshots, the value for
ResourceType
must besnapshot
. The same tag is applied to all of the snapshots that are created.
The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.
-
To tag the AMI, the value for
ResourceType
must beimage
. -
To tag the snapshots, the value for
ResourceType
must besnapshot
. The same tag is applied to all of the snapshots that are created.
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 is UnauthorizedOperation
.
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 is UnauthorizedOperation
.
Consumes the builder and constructs a CreateRestoreImageTaskInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more