Struct aws_sdk_ec2::operation::create_store_image_task::builders::CreateStoreImageTaskOutputBuilder
source · #[non_exhaustive]pub struct CreateStoreImageTaskOutputBuilder { /* private fields */ }
Expand description
A builder for CreateStoreImageTaskOutput
.
Implementations§
source§impl CreateStoreImageTaskOutputBuilder
impl CreateStoreImageTaskOutputBuilder
sourcepub fn object_key(self, input: impl Into<String>) -> Self
pub fn object_key(self, input: impl Into<String>) -> Self
The name of the stored AMI object in the S3 bucket.
sourcepub fn set_object_key(self, input: Option<String>) -> Self
pub fn set_object_key(self, input: Option<String>) -> Self
The name of the stored AMI object in the S3 bucket.
sourcepub fn get_object_key(&self) -> &Option<String>
pub fn get_object_key(&self) -> &Option<String>
The name of the stored AMI object in the S3 bucket.
sourcepub fn build(self) -> CreateStoreImageTaskOutput
pub fn build(self) -> CreateStoreImageTaskOutput
Consumes the builder and constructs a CreateStoreImageTaskOutput
.
Trait Implementations§
source§impl Clone for CreateStoreImageTaskOutputBuilder
impl Clone for CreateStoreImageTaskOutputBuilder
source§fn clone(&self) -> CreateStoreImageTaskOutputBuilder
fn clone(&self) -> CreateStoreImageTaskOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateStoreImageTaskOutputBuilder
impl Default for CreateStoreImageTaskOutputBuilder
source§fn default() -> CreateStoreImageTaskOutputBuilder
fn default() -> CreateStoreImageTaskOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateStoreImageTaskOutputBuilder
impl PartialEq for CreateStoreImageTaskOutputBuilder
source§fn eq(&self, other: &CreateStoreImageTaskOutputBuilder) -> bool
fn eq(&self, other: &CreateStoreImageTaskOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateStoreImageTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateStoreImageTaskOutputBuilder
impl RefUnwindSafe for CreateStoreImageTaskOutputBuilder
impl Send for CreateStoreImageTaskOutputBuilder
impl Sync for CreateStoreImageTaskOutputBuilder
impl Unpin for CreateStoreImageTaskOutputBuilder
impl UnwindSafe for CreateStoreImageTaskOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.