#[non_exhaustive]pub struct ListCidrBlocksInputBuilder { /* private fields */ }
Expand description
A builder for ListCidrBlocksInput
.
Implementations§
source§impl ListCidrBlocksInputBuilder
impl ListCidrBlocksInputBuilder
sourcepub fn collection_id(self, input: impl Into<String>) -> Self
pub fn collection_id(self, input: impl Into<String>) -> Self
The UUID of the CIDR collection.
This field is required.sourcepub fn set_collection_id(self, input: Option<String>) -> Self
pub fn set_collection_id(self, input: Option<String>) -> Self
The UUID of the CIDR collection.
sourcepub fn get_collection_id(&self) -> &Option<String>
pub fn get_collection_id(&self) -> &Option<String>
The UUID of the CIDR collection.
sourcepub fn location_name(self, input: impl Into<String>) -> Self
pub fn location_name(self, input: impl Into<String>) -> Self
The name of the CIDR collection location.
sourcepub fn set_location_name(self, input: Option<String>) -> Self
pub fn set_location_name(self, input: Option<String>) -> Self
The name of the CIDR collection location.
sourcepub fn get_location_name(&self) -> &Option<String>
pub fn get_location_name(&self) -> &Option<String>
The name of the CIDR collection location.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An opaque pagination token to indicate where the service is to begin enumerating results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An opaque pagination token to indicate where the service is to begin enumerating results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An opaque pagination token to indicate where the service is to begin enumerating results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Maximum number of results you want returned.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Maximum number of results you want returned.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Maximum number of results you want returned.
sourcepub fn build(self) -> Result<ListCidrBlocksInput, BuildError>
pub fn build(self) -> Result<ListCidrBlocksInput, BuildError>
Consumes the builder and constructs a ListCidrBlocksInput
.
source§impl ListCidrBlocksInputBuilder
impl ListCidrBlocksInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListCidrBlocksOutput, SdkError<ListCidrBlocksError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListCidrBlocksOutput, SdkError<ListCidrBlocksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListCidrBlocksInputBuilder
impl Clone for ListCidrBlocksInputBuilder
source§fn clone(&self) -> ListCidrBlocksInputBuilder
fn clone(&self) -> ListCidrBlocksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCidrBlocksInputBuilder
impl Debug for ListCidrBlocksInputBuilder
source§impl Default for ListCidrBlocksInputBuilder
impl Default for ListCidrBlocksInputBuilder
source§fn default() -> ListCidrBlocksInputBuilder
fn default() -> ListCidrBlocksInputBuilder
source§impl PartialEq for ListCidrBlocksInputBuilder
impl PartialEq for ListCidrBlocksInputBuilder
source§fn eq(&self, other: &ListCidrBlocksInputBuilder) -> bool
fn eq(&self, other: &ListCidrBlocksInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCidrBlocksInputBuilder
Auto Trait Implementations§
impl Freeze for ListCidrBlocksInputBuilder
impl RefUnwindSafe for ListCidrBlocksInputBuilder
impl Send for ListCidrBlocksInputBuilder
impl Sync for ListCidrBlocksInputBuilder
impl Unpin for ListCidrBlocksInputBuilder
impl UnwindSafe for ListCidrBlocksInputBuilder
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