Struct aws_sdk_m2::types::builders::EnvironmentSummaryBuilder
source · #[non_exhaustive]pub struct EnvironmentSummaryBuilder { /* private fields */ }Expand description
A builder for EnvironmentSummary.
Implementations§
source§impl EnvironmentSummaryBuilder
impl EnvironmentSummaryBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the runtime environment.
This field is required.sourcepub fn environment_arn(self, input: impl Into<String>) -> Self
pub fn environment_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a particular runtime environment.
This field is required.sourcepub fn set_environment_arn(self, input: Option<String>) -> Self
pub fn set_environment_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a particular runtime environment.
sourcepub fn get_environment_arn(&self) -> &Option<String>
pub fn get_environment_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of a particular runtime environment.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The unique identifier of a particular runtime environment.
This field is required.sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The unique identifier of a particular runtime environment.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The unique identifier of a particular runtime environment.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type of the runtime environment.
This field is required.sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type of the runtime environment.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
The instance type of the runtime environment.
sourcepub fn status(self, input: EnvironmentLifecycle) -> Self
pub fn status(self, input: EnvironmentLifecycle) -> Self
The status of the runtime environment
This field is required.sourcepub fn set_status(self, input: Option<EnvironmentLifecycle>) -> Self
pub fn set_status(self, input: Option<EnvironmentLifecycle>) -> Self
The status of the runtime environment
sourcepub fn get_status(&self) -> &Option<EnvironmentLifecycle>
pub fn get_status(&self) -> &Option<EnvironmentLifecycle>
The status of the runtime environment
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
The target platform for the runtime environment.
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 target platform for the runtime environment.
sourcepub fn get_engine_type(&self) -> &Option<EngineType>
pub fn get_engine_type(&self) -> &Option<EngineType>
The target platform for the runtime environment.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The version of the runtime engine.
This field is required.sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The version of the runtime engine.
sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
The version of the runtime engine.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp when the runtime environment 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 runtime environment was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp when the runtime environment was created.
sourcepub fn build(self) -> Result<EnvironmentSummary, BuildError>
pub fn build(self) -> Result<EnvironmentSummary, BuildError>
Consumes the builder and constructs a EnvironmentSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnvironmentSummaryBuilder
impl Clone for EnvironmentSummaryBuilder
source§fn clone(&self) -> EnvironmentSummaryBuilder
fn clone(&self) -> EnvironmentSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EnvironmentSummaryBuilder
impl Debug for EnvironmentSummaryBuilder
source§impl Default for EnvironmentSummaryBuilder
impl Default for EnvironmentSummaryBuilder
source§fn default() -> EnvironmentSummaryBuilder
fn default() -> EnvironmentSummaryBuilder
source§impl PartialEq for EnvironmentSummaryBuilder
impl PartialEq for EnvironmentSummaryBuilder
source§fn eq(&self, other: &EnvironmentSummaryBuilder) -> bool
fn eq(&self, other: &EnvironmentSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.