#[non_exhaustive]pub struct CreateAppBlockInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppBlockInput
.
Implementations§
source§impl CreateAppBlockInputBuilder
impl CreateAppBlockInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the app block.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateAppBlockInput, BuildError>
pub fn build(self) -> Result<CreateAppBlockInput, BuildError>
Consumes the builder and constructs a CreateAppBlockInput
.
source§impl CreateAppBlockInputBuilder
impl CreateAppBlockInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAppBlockOutput, SdkError<CreateAppBlockError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAppBlockOutput, SdkError<CreateAppBlockError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppBlockInputBuilder
impl Clone for CreateAppBlockInputBuilder
source§fn clone(&self) -> CreateAppBlockInputBuilder
fn clone(&self) -> CreateAppBlockInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppBlockInputBuilder
impl Debug for CreateAppBlockInputBuilder
source§impl Default for CreateAppBlockInputBuilder
impl Default for CreateAppBlockInputBuilder
source§fn default() -> CreateAppBlockInputBuilder
fn default() -> CreateAppBlockInputBuilder
source§impl PartialEq for CreateAppBlockInputBuilder
impl PartialEq for CreateAppBlockInputBuilder
source§fn eq(&self, other: &CreateAppBlockInputBuilder) -> bool
fn eq(&self, other: &CreateAppBlockInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.