Struct aws_sdk_appstream::operation::create_app_block::builders::CreateAppBlockFluentBuilder
source · pub struct CreateAppBlockFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAppBlock
.
Creates an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
Implementations§
source§impl CreateAppBlockFluentBuilder
impl CreateAppBlockFluentBuilder
sourcepub fn as_input(&self) -> &CreateAppBlockInputBuilder
pub fn as_input(&self) -> &CreateAppBlockInputBuilder
Access the CreateAppBlock as a reference.
sourcepub async fn send(
self
) -> Result<CreateAppBlockOutput, SdkError<CreateAppBlockError, HttpResponse>>
pub async fn send( self ) -> Result<CreateAppBlockOutput, SdkError<CreateAppBlockError, 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<CreateAppBlockOutput, CreateAppBlockError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateAppBlockOutput, CreateAppBlockError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the app block.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the app block.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the app block.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The display name of the app block. This is not displayed to the user.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The display name of the app block. This is not displayed to the user.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The display name of the app block. This is not displayed to the user.
sourcepub fn source_s3_location(self, input: S3Location) -> Self
pub fn source_s3_location(self, input: S3Location) -> Self
The source S3 location of the app block.
sourcepub fn set_source_s3_location(self, input: Option<S3Location>) -> Self
pub fn set_source_s3_location(self, input: Option<S3Location>) -> Self
The source S3 location of the app block.
sourcepub fn get_source_s3_location(&self) -> &Option<S3Location>
pub fn get_source_s3_location(&self) -> &Option<S3Location>
The source S3 location of the app block.
sourcepub fn setup_script_details(self, input: ScriptDetails) -> Self
pub fn setup_script_details(self, input: ScriptDetails) -> Self
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
sourcepub fn set_setup_script_details(self, input: Option<ScriptDetails>) -> Self
pub fn set_setup_script_details(self, input: Option<ScriptDetails>) -> Self
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
sourcepub fn get_setup_script_details(&self) -> &Option<ScriptDetails>
pub fn get_setup_script_details(&self) -> &Option<ScriptDetails>
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the app block.
The tags assigned to the app block.
The tags assigned to the app block.
sourcepub fn post_setup_script_details(self, input: ScriptDetails) -> Self
pub fn post_setup_script_details(self, input: ScriptDetails) -> Self
The post setup script details of the app block. This can only be provided for the APPSTREAM2
PackagingType.
sourcepub fn set_post_setup_script_details(self, input: Option<ScriptDetails>) -> Self
pub fn set_post_setup_script_details(self, input: Option<ScriptDetails>) -> Self
The post setup script details of the app block. This can only be provided for the APPSTREAM2
PackagingType.
sourcepub fn get_post_setup_script_details(&self) -> &Option<ScriptDetails>
pub fn get_post_setup_script_details(&self) -> &Option<ScriptDetails>
The post setup script details of the app block. This can only be provided for the APPSTREAM2
PackagingType.
sourcepub fn packaging_type(self, input: PackagingType) -> Self
pub fn packaging_type(self, input: PackagingType) -> Self
The packaging type of the app block.
sourcepub fn set_packaging_type(self, input: Option<PackagingType>) -> Self
pub fn set_packaging_type(self, input: Option<PackagingType>) -> Self
The packaging type of the app block.
sourcepub fn get_packaging_type(&self) -> &Option<PackagingType>
pub fn get_packaging_type(&self) -> &Option<PackagingType>
The packaging type of the app block.
Trait Implementations§
source§impl Clone for CreateAppBlockFluentBuilder
impl Clone for CreateAppBlockFluentBuilder
source§fn clone(&self) -> CreateAppBlockFluentBuilder
fn clone(&self) -> CreateAppBlockFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more