Struct aws_sdk_appstream::operation::create_updated_image::builders::CreateUpdatedImageFluentBuilder
source · pub struct CreateUpdatedImageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateUpdatedImage
.
Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.
For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.
Implementations§
source§impl CreateUpdatedImageFluentBuilder
impl CreateUpdatedImageFluentBuilder
sourcepub fn as_input(&self) -> &CreateUpdatedImageInputBuilder
pub fn as_input(&self) -> &CreateUpdatedImageInputBuilder
Access the CreateUpdatedImage as a reference.
sourcepub async fn send(
self
) -> Result<CreateUpdatedImageOutput, SdkError<CreateUpdatedImageError, HttpResponse>>
pub async fn send( self ) -> Result<CreateUpdatedImageOutput, SdkError<CreateUpdatedImageError, 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<CreateUpdatedImageOutput, CreateUpdatedImageError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateUpdatedImageOutput, CreateUpdatedImageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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.
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 newImageTags
.
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.
Trait Implementations§
source§impl Clone for CreateUpdatedImageFluentBuilder
impl Clone for CreateUpdatedImageFluentBuilder
source§fn clone(&self) -> CreateUpdatedImageFluentBuilder
fn clone(&self) -> CreateUpdatedImageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more