Struct aws_sdk_m2::operation::get_application_version::builders::GetApplicationVersionOutputBuilder
source · #[non_exhaustive]pub struct GetApplicationVersionOutputBuilder { /* private fields */ }
Expand description
A builder for GetApplicationVersionOutput
.
Implementations§
source§impl GetApplicationVersionOutputBuilder
impl GetApplicationVersionOutputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the application version.
This field is required.sourcepub fn application_version(self, input: i32) -> Self
pub fn application_version(self, input: i32) -> Self
The specific 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 specific version of the application.
sourcepub fn get_application_version(&self) -> &Option<i32>
pub fn get_application_version(&self) -> &Option<i32>
The specific version of the application.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The application description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The application description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The application description.
sourcepub fn definition_content(self, input: impl Into<String>) -> Self
pub fn definition_content(self, input: impl Into<String>) -> Self
The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.
This field is required.sourcepub fn set_definition_content(self, input: Option<String>) -> Self
pub fn set_definition_content(self, input: Option<String>) -> Self
The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.
sourcepub fn get_definition_content(&self) -> &Option<String>
pub fn get_definition_content(&self) -> &Option<String>
The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.
sourcepub fn status(self, input: ApplicationVersionLifecycle) -> Self
pub fn status(self, input: ApplicationVersionLifecycle) -> Self
The status of the application version.
This field is required.sourcepub fn set_status(self, input: Option<ApplicationVersionLifecycle>) -> Self
pub fn set_status(self, input: Option<ApplicationVersionLifecycle>) -> Self
The status of the application version.
sourcepub fn get_status(&self) -> &Option<ApplicationVersionLifecycle>
pub fn get_status(&self) -> &Option<ApplicationVersionLifecycle>
The status of the application version.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp when the application version 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 version was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp when the application version was created.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the reported status.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the reported status.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason for the reported status.
sourcepub fn build(self) -> Result<GetApplicationVersionOutput, BuildError>
pub fn build(self) -> Result<GetApplicationVersionOutput, BuildError>
Consumes the builder and constructs a GetApplicationVersionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetApplicationVersionOutputBuilder
impl Clone for GetApplicationVersionOutputBuilder
source§fn clone(&self) -> GetApplicationVersionOutputBuilder
fn clone(&self) -> GetApplicationVersionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetApplicationVersionOutputBuilder
impl Default for GetApplicationVersionOutputBuilder
source§fn default() -> GetApplicationVersionOutputBuilder
fn default() -> GetApplicationVersionOutputBuilder
source§impl PartialEq for GetApplicationVersionOutputBuilder
impl PartialEq for GetApplicationVersionOutputBuilder
source§fn eq(&self, other: &GetApplicationVersionOutputBuilder) -> bool
fn eq(&self, other: &GetApplicationVersionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.