#[non_exhaustive]pub struct CreateApplicationInput {
pub name: Option<String>,
pub display_name: Option<String>,
pub description: Option<String>,
pub icon_s3_location: Option<S3Location>,
pub launch_path: Option<String>,
pub working_directory: Option<String>,
pub launch_parameters: Option<String>,
pub platforms: Option<Vec<PlatformType>>,
pub instance_families: Option<Vec<String>>,
pub app_block_arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the application. This name is visible to users when display name is not specified.
display_name: Option<String>
The display name of the application. This name is visible to users in the application catalog.
description: Option<String>
The description of the application.
icon_s3_location: Option<S3Location>
The location in S3 of the application icon.
launch_path: Option<String>
The launch path of the application.
working_directory: Option<String>
The working directory of the application.
launch_parameters: Option<String>
The launch parameters of the application.
platforms: Option<Vec<PlatformType>>
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
instance_families: Option<Vec<String>>
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
app_block_arn: Option<String>
The app block ARN to which the application should be associated
The tags assigned to the application.
Implementations§
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the application. This name is visible to users when display name is not specified.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the application. This name is visible to users in the application catalog.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the application.
sourcepub fn icon_s3_location(&self) -> Option<&S3Location>
pub fn icon_s3_location(&self) -> Option<&S3Location>
The location in S3 of the application icon.
sourcepub fn launch_path(&self) -> Option<&str>
pub fn launch_path(&self) -> Option<&str>
The launch path of the application.
sourcepub fn working_directory(&self) -> Option<&str>
pub fn working_directory(&self) -> Option<&str>
The working directory of the application.
sourcepub fn launch_parameters(&self) -> Option<&str>
pub fn launch_parameters(&self) -> Option<&str>
The launch parameters of the application.
sourcepub fn platforms(&self) -> &[PlatformType]
pub fn platforms(&self) -> &[PlatformType]
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .platforms.is_none()
.
sourcepub fn instance_families(&self) -> &[String]
pub fn instance_families(&self) -> &[String]
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_families.is_none()
.
sourcepub fn app_block_arn(&self) -> Option<&str>
pub fn app_block_arn(&self) -> Option<&str>
The app block ARN to which the application should be associated
The tags assigned to the application.
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn builder() -> CreateApplicationInputBuilder
pub fn builder() -> CreateApplicationInputBuilder
Creates a new builder-style object to manufacture CreateApplicationInput
.
Trait Implementations§
source§impl Clone for CreateApplicationInput
impl Clone for CreateApplicationInput
source§fn clone(&self) -> CreateApplicationInput
fn clone(&self) -> CreateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateApplicationInput
impl Debug for CreateApplicationInput
source§impl PartialEq for CreateApplicationInput
impl PartialEq for CreateApplicationInput
source§fn eq(&self, other: &CreateApplicationInput) -> bool
fn eq(&self, other: &CreateApplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.