Struct aws_sdk_storagegateway::operation::describe_tapes::builders::DescribeTapesFluentBuilder
source · pub struct DescribeTapesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeTapes
.
Returns a description of virtual tapes that correspond to the specified Amazon Resource Names (ARNs). If TapeARN
is not specified, returns a description of the virtual tapes associated with the specified gateway. This operation is only supported for the tape gateway type.
The operation supports pagination. By default, the operation returns a maximum of up to 100 tapes. You can optionally specify the Limit
field in the body to limit the number of tapes in the response. If the number of tapes returned in the response is truncated, the response includes a Marker
field. You can use this Marker
value in your subsequent request to retrieve the next set of tapes.
Implementations§
source§impl DescribeTapesFluentBuilder
impl DescribeTapesFluentBuilder
sourcepub fn as_input(&self) -> &DescribeTapesInputBuilder
pub fn as_input(&self) -> &DescribeTapesInputBuilder
Access the DescribeTapes as a reference.
sourcepub async fn send(
self
) -> Result<DescribeTapesOutput, SdkError<DescribeTapesError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeTapesOutput, SdkError<DescribeTapesError, 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<DescribeTapesOutput, DescribeTapesError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeTapesOutput, DescribeTapesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeTapesPaginator
pub fn into_paginator(self) -> DescribeTapesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn tape_arns(self, input: impl Into<String>) -> Self
pub fn tape_arns(self, input: impl Into<String>) -> Self
Appends an item to TapeARNs
.
To override the contents of this collection use set_tape_arns
.
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, Tape gateway returns a description of all virtual tapes associated with the specified gateway.
sourcepub fn set_tape_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_tape_arns(self, input: Option<Vec<String>>) -> Self
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, Tape gateway returns a description of all virtual tapes associated with the specified gateway.
sourcepub fn get_tape_arns(&self) -> &Option<Vec<String>>
pub fn get_tape_arns(&self) -> &Option<Vec<String>>
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, Tape gateway returns a description of all virtual tapes associated with the specified gateway.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
A marker value, obtained in a previous call to DescribeTapes
. This marker indicates which page of results to retrieve.
If not specified, the first page of results is retrieved.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
A marker value, obtained in a previous call to DescribeTapes
. This marker indicates which page of results to retrieve.
If not specified, the first page of results is retrieved.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
A marker value, obtained in a previous call to DescribeTapes
. This marker indicates which page of results to retrieve.
If not specified, the first page of results is retrieved.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
Specifies that the number of virtual tapes described be limited to the specified number.
Amazon Web Services may impose its own limit, if this field is not set.
Trait Implementations§
source§impl Clone for DescribeTapesFluentBuilder
impl Clone for DescribeTapesFluentBuilder
source§fn clone(&self) -> DescribeTapesFluentBuilder
fn clone(&self) -> DescribeTapesFluentBuilder
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 DescribeTapesFluentBuilder
impl !RefUnwindSafe for DescribeTapesFluentBuilder
impl Send for DescribeTapesFluentBuilder
impl Sync for DescribeTapesFluentBuilder
impl Unpin for DescribeTapesFluentBuilder
impl !UnwindSafe for DescribeTapesFluentBuilder
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