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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the environment.
This field is required.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 network_fabric_type(self, input: NetworkFabricType) -> Self
pub fn network_fabric_type(self, input: NetworkFabricType) -> Self
The network fabric type of the environment.
This field is required.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.
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 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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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
.
source§impl CreateEnvironmentInputBuilder
impl CreateEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
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 for CreateEnvironmentInputBuilder
impl PartialEq 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 ==
.