Struct aws_sdk_migrationhubrefactorspaces::operation::get_environment::builders::GetEnvironmentOutputBuilder
source · #[non_exhaustive]pub struct GetEnvironmentOutputBuilder { /* private fields */ }
Expand description
A builder for GetEnvironmentOutput
.
Implementations§
source§impl GetEnvironmentOutputBuilder
impl GetEnvironmentOutputBuilder
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
The description of the environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The 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 the 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 the 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 the environment owner.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of the Transit Gateway set up by the environment, if applicable.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of the Transit Gateway set up by the environment, if applicable.
sourcepub fn get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
The ID of the Transit Gateway set up by the environment, if applicable.
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 to assign to the 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 to assign to the 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 to assign to the 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 error(self, input: ErrorResponse) -> Self
pub fn error(self, input: ErrorResponse) -> Self
Any error associated with the environment resource.
sourcepub fn set_error(self, input: Option<ErrorResponse>) -> Self
pub fn set_error(self, input: Option<ErrorResponse>) -> Self
Any error associated with the environment resource.
sourcepub fn get_error(&self) -> &Option<ErrorResponse>
pub fn get_error(&self) -> &Option<ErrorResponse>
Any error associated with the environment resource.
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) -> GetEnvironmentOutput
pub fn build(self) -> GetEnvironmentOutput
Consumes the builder and constructs a GetEnvironmentOutput
.
Trait Implementations§
source§impl Clone for GetEnvironmentOutputBuilder
impl Clone for GetEnvironmentOutputBuilder
source§fn clone(&self) -> GetEnvironmentOutputBuilder
fn clone(&self) -> GetEnvironmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetEnvironmentOutputBuilder
impl Debug for GetEnvironmentOutputBuilder
source§impl Default for GetEnvironmentOutputBuilder
impl Default for GetEnvironmentOutputBuilder
source§fn default() -> GetEnvironmentOutputBuilder
fn default() -> GetEnvironmentOutputBuilder
source§impl PartialEq for GetEnvironmentOutputBuilder
impl PartialEq for GetEnvironmentOutputBuilder
source§fn eq(&self, other: &GetEnvironmentOutputBuilder) -> bool
fn eq(&self, other: &GetEnvironmentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.