Struct aws_sdk_migrationhubrefactorspaces::operation::create_environment::builders::CreateEnvironmentFluentBuilder
source · pub struct CreateEnvironmentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEnvironment
.
Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with.
When creating an environment with a CreateEnvironment:NetworkFabricType of TRANSIT_GATEWAY
, Refactor Spaces provisions a transit gateway to enable services in VPCs to communicate directly across accounts. If CreateEnvironment:NetworkFabricType is NONE
, Refactor Spaces does not create a transit gateway and you must use your network infrastructure to route traffic to services with private URL endpoints.
Implementations§
source§impl CreateEnvironmentFluentBuilder
impl CreateEnvironmentFluentBuilder
sourcepub fn as_input(&self) -> &CreateEnvironmentInputBuilder
pub fn as_input(&self) -> &CreateEnvironmentInputBuilder
Access the CreateEnvironment as a reference.
sourcepub async fn send(
self
) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
pub async fn send( self ) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateEnvironmentOutput, CreateEnvironmentError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateEnvironmentOutput, CreateEnvironmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for CreateEnvironmentFluentBuilder
impl Clone for CreateEnvironmentFluentBuilder
source§fn clone(&self) -> CreateEnvironmentFluentBuilder
fn clone(&self) -> CreateEnvironmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more