Struct aws_sdk_migrationhubrefactorspaces::operation::create_environment::builders::CreateEnvironmentOutputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentOutputBuilder { /* private fields */ }
Expand description
A builder for CreateEnvironmentOutput
.
Implementations§
source§impl CreateEnvironmentOutputBuilder
impl CreateEnvironmentOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the environment.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the environment.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the 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 the environment.
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 environment.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The unique identifier of the environment.
sourcepub fn network_fabric_type(self, input: NetworkFabricType) -> Self
pub fn network_fabric_type(self, input: NetworkFabricType) -> Self
The network fabric type of the environment.
sourcepub fn set_network_fabric_type(self, input: Option<NetworkFabricType>) -> Self
pub fn set_network_fabric_type(self, input: Option<NetworkFabricType>) -> Self
The network fabric type of the environment.
sourcepub fn get_network_fabric_type(&self) -> &Option<NetworkFabricType>
pub fn get_network_fabric_type(&self) -> &Option<NetworkFabricType>
The network fabric type of the environment.
sourcepub fn owner_account_id(self, input: impl Into<String>) -> Self
pub fn owner_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of environment owner.
sourcepub fn set_owner_account_id(self, input: Option<String>) -> Self
pub fn set_owner_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of environment owner.
sourcepub fn get_owner_account_id(&self) -> &Option<String>
pub fn get_owner_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of environment owner.
sourcepub fn state(self, input: EnvironmentState) -> Self
pub fn state(self, input: EnvironmentState) -> Self
The current state of the environment.
sourcepub fn set_state(self, input: Option<EnvironmentState>) -> Self
pub fn set_state(self, input: Option<EnvironmentState>) -> Self
The current state of the environment.
sourcepub fn get_state(&self) -> &Option<EnvironmentState>
pub fn get_state(&self) -> &Option<EnvironmentState>
The current state of the environment.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
A timestamp that indicates when the environment was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the environment was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
A timestamp that indicates when the environment was last updated.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
A timestamp that indicates when the environment is created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
A timestamp that indicates when the environment is created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
A timestamp that indicates when the environment is created.
sourcepub fn build(self) -> CreateEnvironmentOutput
pub fn build(self) -> CreateEnvironmentOutput
Consumes the builder and constructs a CreateEnvironmentOutput
.
Trait Implementations§
source§impl Clone for CreateEnvironmentOutputBuilder
impl Clone for CreateEnvironmentOutputBuilder
source§fn clone(&self) -> CreateEnvironmentOutputBuilder
fn clone(&self) -> CreateEnvironmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEnvironmentOutputBuilder
impl Default for CreateEnvironmentOutputBuilder
source§fn default() -> CreateEnvironmentOutputBuilder
fn default() -> CreateEnvironmentOutputBuilder
source§impl PartialEq for CreateEnvironmentOutputBuilder
impl PartialEq for CreateEnvironmentOutputBuilder
source§fn eq(&self, other: &CreateEnvironmentOutputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.