pub struct PutProtocolsListFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutProtocolsList
.
Creates an Firewall Manager protocols list.
Implementations§
source§impl PutProtocolsListFluentBuilder
impl PutProtocolsListFluentBuilder
sourcepub fn as_input(&self) -> &PutProtocolsListInputBuilder
pub fn as_input(&self) -> &PutProtocolsListInputBuilder
Access the PutProtocolsList as a reference.
sourcepub async fn send(
self
) -> Result<PutProtocolsListOutput, SdkError<PutProtocolsListError, HttpResponse>>
pub async fn send( self ) -> Result<PutProtocolsListOutput, SdkError<PutProtocolsListError, 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<PutProtocolsListOutput, PutProtocolsListError, Self>
pub fn customize( self ) -> CustomizableOperation<PutProtocolsListOutput, PutProtocolsListError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn protocols_list(self, input: ProtocolsListData) -> Self
pub fn protocols_list(self, input: ProtocolsListData) -> Self
The details of the Firewall Manager protocols list to be created.
sourcepub fn set_protocols_list(self, input: Option<ProtocolsListData>) -> Self
pub fn set_protocols_list(self, input: Option<ProtocolsListData>) -> Self
The details of the Firewall Manager protocols list to be created.
sourcepub fn get_protocols_list(&self) -> &Option<ProtocolsListData>
pub fn get_protocols_list(&self) -> &Option<ProtocolsListData>
The details of the Firewall Manager protocols list to be created.
sourcepub fn tag_list(self, input: Tag) -> Self
pub fn tag_list(self, input: Tag) -> Self
Appends an item to TagList
.
To override the contents of this collection use set_tag_list
.
The tags associated with the resource.
sourcepub fn set_tag_list(self, input: Option<Vec<Tag>>) -> Self
pub fn set_tag_list(self, input: Option<Vec<Tag>>) -> Self
The tags associated with the resource.
sourcepub fn get_tag_list(&self) -> &Option<Vec<Tag>>
pub fn get_tag_list(&self) -> &Option<Vec<Tag>>
The tags associated with the resource.
Trait Implementations§
source§impl Clone for PutProtocolsListFluentBuilder
impl Clone for PutProtocolsListFluentBuilder
source§fn clone(&self) -> PutProtocolsListFluentBuilder
fn clone(&self) -> PutProtocolsListFluentBuilder
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 PutProtocolsListFluentBuilder
impl !RefUnwindSafe for PutProtocolsListFluentBuilder
impl Send for PutProtocolsListFluentBuilder
impl Sync for PutProtocolsListFluentBuilder
impl Unpin for PutProtocolsListFluentBuilder
impl !UnwindSafe for PutProtocolsListFluentBuilder
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