#[non_exhaustive]pub struct PutProtocolsListInputBuilder { /* private fields */ }
Expand description
A builder for PutProtocolsListInput
.
Implementations§
source§impl PutProtocolsListInputBuilder
impl PutProtocolsListInputBuilder
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.
This field is required.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 tag_list
.
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.
sourcepub fn build(self) -> Result<PutProtocolsListInput, BuildError>
pub fn build(self) -> Result<PutProtocolsListInput, BuildError>
Consumes the builder and constructs a PutProtocolsListInput
.
source§impl PutProtocolsListInputBuilder
impl PutProtocolsListInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutProtocolsListOutput, SdkError<PutProtocolsListError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutProtocolsListOutput, SdkError<PutProtocolsListError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutProtocolsListInputBuilder
impl Clone for PutProtocolsListInputBuilder
source§fn clone(&self) -> PutProtocolsListInputBuilder
fn clone(&self) -> PutProtocolsListInputBuilder
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 Debug for PutProtocolsListInputBuilder
impl Debug for PutProtocolsListInputBuilder
source§impl Default for PutProtocolsListInputBuilder
impl Default for PutProtocolsListInputBuilder
source§fn default() -> PutProtocolsListInputBuilder
fn default() -> PutProtocolsListInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutProtocolsListInputBuilder
impl PartialEq for PutProtocolsListInputBuilder
source§fn eq(&self, other: &PutProtocolsListInputBuilder) -> bool
fn eq(&self, other: &PutProtocolsListInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutProtocolsListInputBuilder
Auto Trait Implementations§
impl Freeze for PutProtocolsListInputBuilder
impl RefUnwindSafe for PutProtocolsListInputBuilder
impl Send for PutProtocolsListInputBuilder
impl Sync for PutProtocolsListInputBuilder
impl Unpin for PutProtocolsListInputBuilder
impl UnwindSafe for PutProtocolsListInputBuilder
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.