Struct aws_sdk_migrationhubrefactorspaces::operation::create_environment::builders::CreateEnvironmentInputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentInputBuilder { /* private fields */ }Expand description
A builder for CreateEnvironmentInput.
Implementations§
source§impl CreateEnvironmentInputBuilder
impl CreateEnvironmentInputBuilder
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 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.
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.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<CreateEnvironmentInput, BuildError>
pub fn build(self) -> Result<CreateEnvironmentInput, BuildError>
Consumes the builder and constructs a CreateEnvironmentInput.
Trait Implementations§
source§impl Clone for CreateEnvironmentInputBuilder
impl Clone for CreateEnvironmentInputBuilder
source§fn clone(&self) -> CreateEnvironmentInputBuilder
fn clone(&self) -> CreateEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateEnvironmentInputBuilder
impl Default for CreateEnvironmentInputBuilder
source§fn default() -> CreateEnvironmentInputBuilder
fn default() -> CreateEnvironmentInputBuilder
source§impl PartialEq<CreateEnvironmentInputBuilder> for CreateEnvironmentInputBuilder
impl PartialEq<CreateEnvironmentInputBuilder> for CreateEnvironmentInputBuilder
source§fn eq(&self, other: &CreateEnvironmentInputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.