Struct aws_sdk_workspaces::operation::describe_workspace_bundles::builders::DescribeWorkspaceBundlesFluentBuilder
source · pub struct DescribeWorkspaceBundlesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeWorkspaceBundles
.
Retrieves a list that describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
Implementations§
source§impl DescribeWorkspaceBundlesFluentBuilder
impl DescribeWorkspaceBundlesFluentBuilder
sourcepub fn as_input(&self) -> &DescribeWorkspaceBundlesInputBuilder
pub fn as_input(&self) -> &DescribeWorkspaceBundlesInputBuilder
Access the DescribeWorkspaceBundles as a reference.
sourcepub async fn send(
self
) -> Result<DescribeWorkspaceBundlesOutput, SdkError<DescribeWorkspaceBundlesError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeWorkspaceBundlesOutput, SdkError<DescribeWorkspaceBundlesError, 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<DescribeWorkspaceBundlesOutput, DescribeWorkspaceBundlesError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeWorkspaceBundlesOutput, DescribeWorkspaceBundlesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeWorkspaceBundlesPaginator
pub fn into_paginator(self) -> DescribeWorkspaceBundlesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn bundle_ids(self, input: impl Into<String>) -> Self
pub fn bundle_ids(self, input: impl Into<String>) -> Self
Appends an item to BundleIds
.
To override the contents of this collection use set_bundle_ids
.
The identifiers of the bundles. You cannot combine this parameter with any other filter.
sourcepub fn set_bundle_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_bundle_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the bundles. You cannot combine this parameter with any other filter.
sourcepub fn get_bundle_ids(&self) -> &Option<Vec<String>>
pub fn get_bundle_ids(&self) -> &Option<Vec<String>>
The identifiers of the bundles. You cannot combine this parameter with any other filter.
sourcepub fn owner(self, input: impl Into<String>) -> Self
pub fn owner(self, input: impl Into<String>) -> Self
The owner of the bundles. You cannot combine this parameter with any other filter.
To describe the bundles provided by Amazon Web Services, specify AMAZON
. To describe the bundles that belong to your account, don't specify a value.
sourcepub fn set_owner(self, input: Option<String>) -> Self
pub fn set_owner(self, input: Option<String>) -> Self
The owner of the bundles. You cannot combine this parameter with any other filter.
To describe the bundles provided by Amazon Web Services, specify AMAZON
. To describe the bundles that belong to your account, don't specify a value.
sourcepub fn get_owner(&self) -> &Option<String>
pub fn get_owner(&self) -> &Option<String>
The owner of the bundles. You cannot combine this parameter with any other filter.
To describe the bundles provided by Amazon Web Services, specify AMAZON
. To describe the bundles that belong to your account, don't specify a value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. (You received this token from a previous call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. (You received this token from a previous call.)
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. (You received this token from a previous call.)
Trait Implementations§
source§impl Clone for DescribeWorkspaceBundlesFluentBuilder
impl Clone for DescribeWorkspaceBundlesFluentBuilder
source§fn clone(&self) -> DescribeWorkspaceBundlesFluentBuilder
fn clone(&self) -> DescribeWorkspaceBundlesFluentBuilder
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 DescribeWorkspaceBundlesFluentBuilder
impl !RefUnwindSafe for DescribeWorkspaceBundlesFluentBuilder
impl Send for DescribeWorkspaceBundlesFluentBuilder
impl Sync for DescribeWorkspaceBundlesFluentBuilder
impl Unpin for DescribeWorkspaceBundlesFluentBuilder
impl !UnwindSafe for DescribeWorkspaceBundlesFluentBuilder
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