Struct aws_sdk_storagegateway::operation::list_tape_pools::builders::ListTapePoolsInputBuilder
source · #[non_exhaustive]pub struct ListTapePoolsInputBuilder { /* private fields */ }
Expand description
A builder for ListTapePoolsInput
.
Implementations§
source§impl ListTapePoolsInputBuilder
impl ListTapePoolsInputBuilder
sourcepub fn pool_arns(self, input: impl Into<String>) -> Self
pub fn pool_arns(self, input: impl Into<String>) -> Self
Appends an item to pool_arns
.
To override the contents of this collection use set_pool_arns
.
The Amazon Resource Name (ARN) of each of the custom tape pools you want to list. If you don't specify a custom tape pool ARN, the response lists all custom tape pools.
sourcepub fn set_pool_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_pool_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) of each of the custom tape pools you want to list. If you don't specify a custom tape pool ARN, the response lists all custom tape pools.
sourcepub fn get_pool_arns(&self) -> &Option<Vec<String>>
pub fn get_pool_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Name (ARN) of each of the custom tape pools you want to list. If you don't specify a custom tape pool ARN, the response lists all custom tape pools.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
A string that indicates the position at which to begin the returned list of tape pools.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
A string that indicates the position at which to begin the returned list of tape pools.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
A string that indicates the position at which to begin the returned list of tape pools.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
An optional number limit for the tape pools in the list returned by this call.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
An optional number limit for the tape pools in the list returned by this call.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
An optional number limit for the tape pools in the list returned by this call.
sourcepub fn build(self) -> Result<ListTapePoolsInput, BuildError>
pub fn build(self) -> Result<ListTapePoolsInput, BuildError>
Consumes the builder and constructs a ListTapePoolsInput
.
source§impl ListTapePoolsInputBuilder
impl ListTapePoolsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTapePoolsOutput, SdkError<ListTapePoolsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTapePoolsOutput, SdkError<ListTapePoolsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTapePoolsInputBuilder
impl Clone for ListTapePoolsInputBuilder
source§fn clone(&self) -> ListTapePoolsInputBuilder
fn clone(&self) -> ListTapePoolsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTapePoolsInputBuilder
impl Debug for ListTapePoolsInputBuilder
source§impl Default for ListTapePoolsInputBuilder
impl Default for ListTapePoolsInputBuilder
source§fn default() -> ListTapePoolsInputBuilder
fn default() -> ListTapePoolsInputBuilder
source§impl PartialEq for ListTapePoolsInputBuilder
impl PartialEq for ListTapePoolsInputBuilder
source§fn eq(&self, other: &ListTapePoolsInputBuilder) -> bool
fn eq(&self, other: &ListTapePoolsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTapePoolsInputBuilder
Auto Trait Implementations§
impl Freeze for ListTapePoolsInputBuilder
impl RefUnwindSafe for ListTapePoolsInputBuilder
impl Send for ListTapePoolsInputBuilder
impl Sync for ListTapePoolsInputBuilder
impl Unpin for ListTapePoolsInputBuilder
impl UnwindSafe for ListTapePoolsInputBuilder
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