Struct aws_sdk_fms::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder
source · pub struct BatchAssociateResourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchAssociateResource
.
Associate resources to a Firewall Manager resource set.
Implementations§
source§impl BatchAssociateResourceFluentBuilder
impl BatchAssociateResourceFluentBuilder
sourcepub fn as_input(&self) -> &BatchAssociateResourceInputBuilder
pub fn as_input(&self) -> &BatchAssociateResourceInputBuilder
Access the BatchAssociateResource as a reference.
sourcepub async fn send(
self
) -> Result<BatchAssociateResourceOutput, SdkError<BatchAssociateResourceError, HttpResponse>>
pub async fn send( self ) -> Result<BatchAssociateResourceOutput, SdkError<BatchAssociateResourceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchAssociateResourceOutput, BatchAssociateResourceError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchAssociateResourceOutput, BatchAssociateResourceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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).
Trait Implementations§
source§impl Clone for BatchAssociateResourceFluentBuilder
impl Clone for BatchAssociateResourceFluentBuilder
source§fn clone(&self) -> BatchAssociateResourceFluentBuilder
fn clone(&self) -> BatchAssociateResourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for BatchAssociateResourceFluentBuilder
impl !RefUnwindSafe for BatchAssociateResourceFluentBuilder
impl Send for BatchAssociateResourceFluentBuilder
impl Sync for BatchAssociateResourceFluentBuilder
impl Unpin for BatchAssociateResourceFluentBuilder
impl !UnwindSafe for BatchAssociateResourceFluentBuilder
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