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.
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 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.
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 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 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.
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.
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 build(self) -> Result<CreateUpdatedImageInput, BuildError>
pub fn build(self) -> Result<CreateUpdatedImageInput, BuildError>
Consumes the builder and constructs a CreateUpdatedImageInput
.
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<CreateUpdatedImageInputBuilder> for CreateUpdatedImageInputBuilder
impl PartialEq<CreateUpdatedImageInputBuilder> 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 ==
.