Struct aws_sdk_ec2::input::CreateRestoreImageTaskInput
source · [−]#[non_exhaustive]pub struct CreateRestoreImageTaskInput { /* private fields */ }
Implementations
sourceimpl CreateRestoreImageTaskInput
impl CreateRestoreImageTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRestoreImageTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRestoreImageTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateRestoreImageTask
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRestoreImageTaskInput
.
sourceimpl CreateRestoreImageTaskInput
impl CreateRestoreImageTaskInput
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the Amazon S3 bucket that contains the stored AMI object.
sourcepub fn object_key(&self) -> Option<&str>
pub fn object_key(&self) -> Option<&str>
The name of the stored AMI object in the bucket.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
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.
Trait Implementations
sourceimpl Clone for CreateRestoreImageTaskInput
impl Clone for CreateRestoreImageTaskInput
sourcefn clone(&self) -> CreateRestoreImageTaskInput
fn clone(&self) -> CreateRestoreImageTaskInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateRestoreImageTaskInput
impl Debug for CreateRestoreImageTaskInput
sourceimpl PartialEq<CreateRestoreImageTaskInput> for CreateRestoreImageTaskInput
impl PartialEq<CreateRestoreImageTaskInput> for CreateRestoreImageTaskInput
sourcefn eq(&self, other: &CreateRestoreImageTaskInput) -> bool
fn eq(&self, other: &CreateRestoreImageTaskInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateRestoreImageTaskInput) -> bool
fn ne(&self, other: &CreateRestoreImageTaskInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateRestoreImageTaskInput
Auto Trait Implementations
impl RefUnwindSafe for CreateRestoreImageTaskInput
impl Send for CreateRestoreImageTaskInput
impl Sync for CreateRestoreImageTaskInput
impl Unpin for CreateRestoreImageTaskInput
impl UnwindSafe for CreateRestoreImageTaskInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more