Struct aws_sdk_workspaces::operation::describe_workspace_images::builders::DescribeWorkspaceImagesInputBuilder
source · #[non_exhaustive]pub struct DescribeWorkspaceImagesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeWorkspaceImagesInput
.
Implementations§
source§impl DescribeWorkspaceImagesInputBuilder
impl DescribeWorkspaceImagesInputBuilder
sourcepub fn image_ids(self, input: impl Into<String>) -> Self
pub fn image_ids(self, input: impl Into<String>) -> Self
Appends an item to image_ids
.
To override the contents of this collection use set_image_ids
.
The identifier of the image.
sourcepub fn set_image_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_image_ids(self, input: Option<Vec<String>>) -> Self
The identifier of the image.
sourcepub fn image_type(self, input: ImageType) -> Self
pub fn image_type(self, input: ImageType) -> Self
The type (owned or shared) of the image.
sourcepub fn set_image_type(self, input: Option<ImageType>) -> Self
pub fn set_image_type(self, input: Option<ImageType>) -> Self
The type (owned or shared) of the image.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return.
sourcepub fn build(self) -> Result<DescribeWorkspaceImagesInput, BuildError>
pub fn build(self) -> Result<DescribeWorkspaceImagesInput, BuildError>
Consumes the builder and constructs a DescribeWorkspaceImagesInput
.
Trait Implementations§
source§impl Clone for DescribeWorkspaceImagesInputBuilder
impl Clone for DescribeWorkspaceImagesInputBuilder
source§fn clone(&self) -> DescribeWorkspaceImagesInputBuilder
fn clone(&self) -> DescribeWorkspaceImagesInputBuilder
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 Default for DescribeWorkspaceImagesInputBuilder
impl Default for DescribeWorkspaceImagesInputBuilder
source§fn default() -> DescribeWorkspaceImagesInputBuilder
fn default() -> DescribeWorkspaceImagesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeWorkspaceImagesInputBuilder> for DescribeWorkspaceImagesInputBuilder
impl PartialEq<DescribeWorkspaceImagesInputBuilder> for DescribeWorkspaceImagesInputBuilder
source§fn eq(&self, other: &DescribeWorkspaceImagesInputBuilder) -> bool
fn eq(&self, other: &DescribeWorkspaceImagesInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeWorkspaceImagesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeWorkspaceImagesInputBuilder
impl Send for DescribeWorkspaceImagesInputBuilder
impl Sync for DescribeWorkspaceImagesInputBuilder
impl Unpin for DescribeWorkspaceImagesInputBuilder
impl UnwindSafe for DescribeWorkspaceImagesInputBuilder
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