Struct aws_sdk_appstream::operation::create_updated_image::builders::CreateUpdatedImageInputBuilder
source · #[non_exhaustive]pub struct CreateUpdatedImageInputBuilder { /* private fields */ }
Expand description
A builder for CreateUpdatedImageInput
.
Implementations§
source§impl CreateUpdatedImageInputBuilder
impl CreateUpdatedImageInputBuilder
sourcepub fn existing_image_name(self, input: impl Into<String>) -> Self
pub fn existing_image_name(self, input: impl Into<String>) -> Self
The name of the image to update.
This field is required.sourcepub fn set_existing_image_name(self, input: Option<String>) -> Self
pub fn set_existing_image_name(self, input: Option<String>) -> Self
The name of the image to update.
sourcepub fn get_existing_image_name(&self) -> &Option<String>
pub fn get_existing_image_name(&self) -> &Option<String>
The name of the image to update.
sourcepub fn new_image_name(self, input: impl Into<String>) -> Self
pub fn new_image_name(self, input: impl Into<String>) -> Self
The name of the new image. The name must be unique within the AWS account and Region.
This field is required.sourcepub fn set_new_image_name(self, input: Option<String>) -> Self
pub fn set_new_image_name(self, input: Option<String>) -> Self
The name of the new image. The name must be unique within the AWS account and Region.
sourcepub fn get_new_image_name(&self) -> &Option<String>
pub fn get_new_image_name(&self) -> &Option<String>
The name of the new image. The name must be unique within the AWS account and Region.
sourcepub fn new_image_description(self, input: impl Into<String>) -> Self
pub fn new_image_description(self, input: impl Into<String>) -> Self
The description to display for the new image.
sourcepub fn set_new_image_description(self, input: Option<String>) -> Self
pub fn set_new_image_description(self, input: Option<String>) -> Self
The description to display for the new image.
sourcepub fn get_new_image_description(&self) -> &Option<String>
pub fn get_new_image_description(&self) -> &Option<String>
The description to display for the new image.
sourcepub fn new_image_display_name(self, input: impl Into<String>) -> Self
pub fn new_image_display_name(self, input: impl Into<String>) -> Self
The name to display for the new image.
sourcepub fn set_new_image_display_name(self, input: Option<String>) -> Self
pub fn set_new_image_display_name(self, input: Option<String>) -> Self
The name to display for the new image.
sourcepub fn get_new_image_display_name(&self) -> &Option<String>
pub fn get_new_image_display_name(&self) -> &Option<String>
The name to display for the new image.
Adds a key-value pair to new_image_tags
.
To override the contents of this collection use set_new_image_tags
.
The tags to associate with the new image. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
If you do not specify a value, the value is set to an empty string.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
The tags to associate with the new image. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
If you do not specify a value, the value is set to an empty string.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
The tags to associate with the new image. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
If you do not specify a value, the value is set to an empty string.
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true
, AppStream 2.0 displays whether image updates are available. If this value is set to false
, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true
, AppStream 2.0 displays whether image updates are available. If this value is set to false
, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true
, AppStream 2.0 displays whether image updates are available. If this value is set to false
, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.
sourcepub fn build(self) -> Result<CreateUpdatedImageInput, BuildError>
pub fn build(self) -> Result<CreateUpdatedImageInput, BuildError>
Consumes the builder and constructs a CreateUpdatedImageInput
.
source§impl CreateUpdatedImageInputBuilder
impl CreateUpdatedImageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateUpdatedImageOutput, SdkError<CreateUpdatedImageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateUpdatedImageOutput, SdkError<CreateUpdatedImageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUpdatedImageInputBuilder
impl Clone for CreateUpdatedImageInputBuilder
source§fn clone(&self) -> CreateUpdatedImageInputBuilder
fn clone(&self) -> CreateUpdatedImageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUpdatedImageInputBuilder
impl Default for CreateUpdatedImageInputBuilder
source§fn default() -> CreateUpdatedImageInputBuilder
fn default() -> CreateUpdatedImageInputBuilder
source§impl PartialEq for CreateUpdatedImageInputBuilder
impl PartialEq for CreateUpdatedImageInputBuilder
source§fn eq(&self, other: &CreateUpdatedImageInputBuilder) -> bool
fn eq(&self, other: &CreateUpdatedImageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUpdatedImageInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUpdatedImageInputBuilder
impl RefUnwindSafe for CreateUpdatedImageInputBuilder
impl Send for CreateUpdatedImageInputBuilder
impl Sync for CreateUpdatedImageInputBuilder
impl Unpin for CreateUpdatedImageInputBuilder
impl UnwindSafe for CreateUpdatedImageInputBuilder
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