Struct aws_sdk_fms::operation::batch_associate_resource::builders::BatchAssociateResourceInputBuilder
source · #[non_exhaustive]pub struct BatchAssociateResourceInputBuilder { /* private fields */ }
Expand description
A builder for BatchAssociateResourceInput
.
Implementations§
source§impl BatchAssociateResourceInputBuilder
impl BatchAssociateResourceInputBuilder
sourcepub fn resource_set_identifier(self, input: impl Into<String>) -> Self
pub fn resource_set_identifier(self, input: impl Into<String>) -> Self
A unique identifier for the resource set, used in a request to refer to the resource set.
This field is required.sourcepub fn set_resource_set_identifier(self, input: Option<String>) -> Self
pub fn set_resource_set_identifier(self, input: Option<String>) -> Self
A unique identifier for the resource set, used in a request to refer to the resource set.
sourcepub fn get_resource_set_identifier(&self) -> &Option<String>
pub fn get_resource_set_identifier(&self) -> &Option<String>
A unique identifier for the resource set, used in a request to refer to the resource set.
sourcepub fn items(self, input: impl Into<String>) -> Self
pub fn items(self, input: impl Into<String>) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
sourcepub fn set_items(self, input: Option<Vec<String>>) -> Self
pub fn set_items(self, input: Option<Vec<String>>) -> Self
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
sourcepub fn get_items(&self) -> &Option<Vec<String>>
pub fn get_items(&self) -> &Option<Vec<String>>
The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
sourcepub fn build(self) -> Result<BatchAssociateResourceInput, BuildError>
pub fn build(self) -> Result<BatchAssociateResourceInput, BuildError>
Consumes the builder and constructs a BatchAssociateResourceInput
.
source§impl BatchAssociateResourceInputBuilder
impl BatchAssociateResourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchAssociateResourceOutput, SdkError<BatchAssociateResourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchAssociateResourceOutput, SdkError<BatchAssociateResourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchAssociateResourceInputBuilder
impl Clone for BatchAssociateResourceInputBuilder
source§fn clone(&self) -> BatchAssociateResourceInputBuilder
fn clone(&self) -> BatchAssociateResourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchAssociateResourceInputBuilder
impl Default for BatchAssociateResourceInputBuilder
source§fn default() -> BatchAssociateResourceInputBuilder
fn default() -> BatchAssociateResourceInputBuilder
source§impl PartialEq for BatchAssociateResourceInputBuilder
impl PartialEq for BatchAssociateResourceInputBuilder
source§fn eq(&self, other: &BatchAssociateResourceInputBuilder) -> bool
fn eq(&self, other: &BatchAssociateResourceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchAssociateResourceInputBuilder
Auto Trait Implementations§
impl Freeze for BatchAssociateResourceInputBuilder
impl RefUnwindSafe for BatchAssociateResourceInputBuilder
impl Send for BatchAssociateResourceInputBuilder
impl Sync for BatchAssociateResourceInputBuilder
impl Unpin for BatchAssociateResourceInputBuilder
impl UnwindSafe for BatchAssociateResourceInputBuilder
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
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>
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>
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 more