Struct aws_sdk_m2::types::builders::ApplicationSummaryBuilder
source · #[non_exhaustive]pub struct ApplicationSummaryBuilder { /* private fields */ }Expand description
A builder for ApplicationSummary.
Implementations§
source§impl ApplicationSummaryBuilder
impl ApplicationSummaryBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the application.
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 application.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the application.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the application.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The unique identifier of the application.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The unique identifier of the application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The unique identifier of the application.
sourcepub fn application_arn(self, input: impl Into<String>) -> Self
pub fn application_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the application.
This field is required.sourcepub fn set_application_arn(self, input: Option<String>) -> Self
pub fn set_application_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the application.
sourcepub fn get_application_arn(&self) -> &Option<String>
pub fn get_application_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the application.
sourcepub fn application_version(self, input: i32) -> Self
pub fn application_version(self, input: i32) -> Self
The version of the application.
This field is required.sourcepub fn set_application_version(self, input: Option<i32>) -> Self
pub fn set_application_version(self, input: Option<i32>) -> Self
The version of the application.
sourcepub fn get_application_version(&self) -> &Option<i32>
pub fn get_application_version(&self) -> &Option<i32>
The version of the application.
sourcepub fn status(self, input: ApplicationLifecycle) -> Self
pub fn status(self, input: ApplicationLifecycle) -> Self
The status of the application.
This field is required.sourcepub fn set_status(self, input: Option<ApplicationLifecycle>) -> Self
pub fn set_status(self, input: Option<ApplicationLifecycle>) -> Self
The status of the application.
sourcepub fn get_status(&self) -> &Option<ApplicationLifecycle>
pub fn get_status(&self) -> &Option<ApplicationLifecycle>
The status of the application.
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
The type of the target platform for this application.
This field is required.sourcepub fn set_engine_type(self, input: Option<EngineType>) -> Self
pub fn set_engine_type(self, input: Option<EngineType>) -> Self
The type of the target platform for this application.
sourcepub fn get_engine_type(&self) -> &Option<EngineType>
pub fn get_engine_type(&self) -> &Option<EngineType>
The type of the target platform for this application.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp when the application was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp when the application was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp when the application was created.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The unique identifier of the runtime environment that hosts this application.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The unique identifier of the runtime environment that hosts this application.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The unique identifier of the runtime environment that hosts this application.
sourcepub fn last_start_time(self, input: DateTime) -> Self
pub fn last_start_time(self, input: DateTime) -> Self
The timestamp when you last started the application. Null until the application runs for the first time.
sourcepub fn set_last_start_time(self, input: Option<DateTime>) -> Self
pub fn set_last_start_time(self, input: Option<DateTime>) -> Self
The timestamp when you last started the application. Null until the application runs for the first time.
sourcepub fn get_last_start_time(&self) -> &Option<DateTime>
pub fn get_last_start_time(&self) -> &Option<DateTime>
The timestamp when you last started the application. Null until the application runs for the first time.
sourcepub fn version_status(self, input: ApplicationVersionLifecycle) -> Self
pub fn version_status(self, input: ApplicationVersionLifecycle) -> Self
Indicates the status of the latest version of the application.
sourcepub fn set_version_status(
self,
input: Option<ApplicationVersionLifecycle>
) -> Self
pub fn set_version_status( self, input: Option<ApplicationVersionLifecycle> ) -> Self
Indicates the status of the latest version of the application.
sourcepub fn get_version_status(&self) -> &Option<ApplicationVersionLifecycle>
pub fn get_version_status(&self) -> &Option<ApplicationVersionLifecycle>
Indicates the status of the latest version of the application.
sourcepub fn deployment_status(self, input: ApplicationDeploymentLifecycle) -> Self
pub fn deployment_status(self, input: ApplicationDeploymentLifecycle) -> Self
Indicates either an ongoing deployment or if the application has ever deployed successfully.
sourcepub fn set_deployment_status(
self,
input: Option<ApplicationDeploymentLifecycle>
) -> Self
pub fn set_deployment_status( self, input: Option<ApplicationDeploymentLifecycle> ) -> Self
Indicates either an ongoing deployment or if the application has ever deployed successfully.
sourcepub fn get_deployment_status(&self) -> &Option<ApplicationDeploymentLifecycle>
pub fn get_deployment_status(&self) -> &Option<ApplicationDeploymentLifecycle>
Indicates either an ongoing deployment or if the application has ever deployed successfully.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the role associated with the application.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the role associated with the application.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the role associated with the application.
sourcepub fn build(self) -> Result<ApplicationSummary, BuildError>
pub fn build(self) -> Result<ApplicationSummary, BuildError>
Consumes the builder and constructs a ApplicationSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ApplicationSummaryBuilder
impl Clone for ApplicationSummaryBuilder
source§fn clone(&self) -> ApplicationSummaryBuilder
fn clone(&self) -> ApplicationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApplicationSummaryBuilder
impl Debug for ApplicationSummaryBuilder
source§impl Default for ApplicationSummaryBuilder
impl Default for ApplicationSummaryBuilder
source§fn default() -> ApplicationSummaryBuilder
fn default() -> ApplicationSummaryBuilder
source§impl PartialEq for ApplicationSummaryBuilder
impl PartialEq for ApplicationSummaryBuilder
source§fn eq(&self, other: &ApplicationSummaryBuilder) -> bool
fn eq(&self, other: &ApplicationSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.