#[non_exhaustive]pub struct CreateAppBlockInput {
pub name: Option<String>,
pub description: Option<String>,
pub display_name: Option<String>,
pub source_s3_location: Option<S3Location>,
pub setup_script_details: Option<ScriptDetails>,
pub tags: Option<HashMap<String, String>>,
pub post_setup_script_details: Option<ScriptDetails>,
pub packaging_type: Option<PackagingType>,
}
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 app block.
description: Option<String>
The description of the app block.
display_name: Option<String>
The display name of the app block. This is not displayed to the user.
source_s3_location: Option<S3Location>
The source S3 location of the app block.
setup_script_details: Option<ScriptDetails>
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
The tags assigned to the app block.
post_setup_script_details: Option<ScriptDetails>
The post setup script details of the app block. This can only be provided for the APPSTREAM2
PackagingType.
packaging_type: Option<PackagingType>
The packaging type of the app block.
Implementations§
source§impl CreateAppBlockInput
impl CreateAppBlockInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the app block.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the app block. This is not displayed to the user.
sourcepub fn source_s3_location(&self) -> Option<&S3Location>
pub fn source_s3_location(&self) -> Option<&S3Location>
The source S3 location of the app block.
sourcepub fn setup_script_details(&self) -> Option<&ScriptDetails>
pub fn setup_script_details(&self) -> Option<&ScriptDetails>
The setup script details of the app block. This must be provided for the CUSTOM
PackagingType.
The tags assigned to the app block.
sourcepub fn post_setup_script_details(&self) -> Option<&ScriptDetails>
pub fn 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) -> Option<&PackagingType>
pub fn packaging_type(&self) -> Option<&PackagingType>
The packaging type of the app block.
source§impl CreateAppBlockInput
impl CreateAppBlockInput
sourcepub fn builder() -> CreateAppBlockInputBuilder
pub fn builder() -> CreateAppBlockInputBuilder
Creates a new builder-style object to manufacture CreateAppBlockInput
.
Trait Implementations§
source§impl Clone for CreateAppBlockInput
impl Clone for CreateAppBlockInput
source§fn clone(&self) -> CreateAppBlockInput
fn clone(&self) -> CreateAppBlockInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppBlockInput
impl Debug for CreateAppBlockInput
source§impl PartialEq for CreateAppBlockInput
impl PartialEq for CreateAppBlockInput
source§fn eq(&self, other: &CreateAppBlockInput) -> bool
fn eq(&self, other: &CreateAppBlockInput) -> bool
self
and other
values to be equal, and is used
by ==
.