Struct aws_sdk_devopsguru::operation::update_resource_collection::builders::UpdateResourceCollectionInputBuilder
source · #[non_exhaustive]pub struct UpdateResourceCollectionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateResourceCollectionInput
.
Implementations§
source§impl UpdateResourceCollectionInputBuilder
impl UpdateResourceCollectionInputBuilder
sourcepub fn action(self, input: UpdateResourceCollectionAction) -> Self
pub fn action(self, input: UpdateResourceCollectionAction) -> Self
Specifies if the resource collection in the request is added or deleted to the resource collection.
This field is required.sourcepub fn set_action(self, input: Option<UpdateResourceCollectionAction>) -> Self
pub fn set_action(self, input: Option<UpdateResourceCollectionAction>) -> Self
Specifies if the resource collection in the request is added or deleted to the resource collection.
sourcepub fn get_action(&self) -> &Option<UpdateResourceCollectionAction>
pub fn get_action(&self) -> &Option<UpdateResourceCollectionAction>
Specifies if the resource collection in the request is added or deleted to the resource collection.
sourcepub fn resource_collection(self, input: UpdateResourceCollectionFilter) -> Self
pub fn resource_collection(self, input: UpdateResourceCollectionFilter) -> Self
Contains information used to update a collection of Amazon Web Services resources.
This field is required.sourcepub fn set_resource_collection(
self,
input: Option<UpdateResourceCollectionFilter>
) -> Self
pub fn set_resource_collection( self, input: Option<UpdateResourceCollectionFilter> ) -> Self
Contains information used to update a collection of Amazon Web Services resources.
sourcepub fn get_resource_collection(&self) -> &Option<UpdateResourceCollectionFilter>
pub fn get_resource_collection(&self) -> &Option<UpdateResourceCollectionFilter>
Contains information used to update a collection of Amazon Web Services resources.
sourcepub fn build(self) -> Result<UpdateResourceCollectionInput, BuildError>
pub fn build(self) -> Result<UpdateResourceCollectionInput, BuildError>
Consumes the builder and constructs a UpdateResourceCollectionInput
.
source§impl UpdateResourceCollectionInputBuilder
impl UpdateResourceCollectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateResourceCollectionOutput, SdkError<UpdateResourceCollectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateResourceCollectionOutput, SdkError<UpdateResourceCollectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateResourceCollectionInputBuilder
impl Clone for UpdateResourceCollectionInputBuilder
source§fn clone(&self) -> UpdateResourceCollectionInputBuilder
fn clone(&self) -> UpdateResourceCollectionInputBuilder
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 UpdateResourceCollectionInputBuilder
impl Default for UpdateResourceCollectionInputBuilder
source§fn default() -> UpdateResourceCollectionInputBuilder
fn default() -> UpdateResourceCollectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateResourceCollectionInputBuilder
impl PartialEq for UpdateResourceCollectionInputBuilder
source§fn eq(&self, other: &UpdateResourceCollectionInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceCollectionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourceCollectionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateResourceCollectionInputBuilder
impl RefUnwindSafe for UpdateResourceCollectionInputBuilder
impl Send for UpdateResourceCollectionInputBuilder
impl Sync for UpdateResourceCollectionInputBuilder
impl Unpin for UpdateResourceCollectionInputBuilder
impl UnwindSafe for UpdateResourceCollectionInputBuilder
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.