Struct aws_sdk_migrationhubrefactorspaces::operation::create_application::builders::CreateApplicationFluentBuilder
source · pub struct CreateApplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateApplication
.
Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.
In environments created with a CreateEnvironment:NetworkFabricType of NONE
you need to configure VPC to VPC connectivity between your service VPC and the application proxy VPC to route traffic through the application proxy to a service with a private URL endpoint. For more information, see Create an application in the Refactor Spaces User Guide.
Implementations§
source§impl CreateApplicationFluentBuilder
impl CreateApplicationFluentBuilder
sourcepub fn as_input(&self) -> &CreateApplicationInputBuilder
pub fn as_input(&self) -> &CreateApplicationInputBuilder
Access the CreateApplication as a reference.
sourcepub async fn send(
self
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, 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<CreateApplicationOutput, CreateApplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateApplicationOutput, CreateApplicationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the environment.
sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The unique identifier of the environment.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The unique identifier of the environment.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the virtual private cloud (VPC).
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the virtual private cloud (VPC).
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the virtual private cloud (VPC).
sourcepub fn proxy_type(self, input: ProxyType) -> Self
pub fn proxy_type(self, input: ProxyType) -> Self
The proxy type of the proxy created within the application.
sourcepub fn set_proxy_type(self, input: Option<ProxyType>) -> Self
pub fn set_proxy_type(self, input: Option<ProxyType>) -> Self
The proxy type of the proxy created within the application.
sourcepub fn get_proxy_type(&self) -> &Option<ProxyType>
pub fn get_proxy_type(&self) -> &Option<ProxyType>
The proxy type of the proxy created within the application.
sourcepub fn api_gateway_proxy(self, input: ApiGatewayProxyInput) -> Self
pub fn api_gateway_proxy(self, input: ApiGatewayProxyInput) -> Self
A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
sourcepub fn set_api_gateway_proxy(self, input: Option<ApiGatewayProxyInput>) -> Self
pub fn set_api_gateway_proxy(self, input: Option<ApiGatewayProxyInput>) -> Self
A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
sourcepub fn get_api_gateway_proxy(&self) -> &Option<ApiGatewayProxyInput>
pub fn get_api_gateway_proxy(&self) -> &Option<ApiGatewayProxyInput>
A wrapper object holding the API Gateway endpoint type and stage name for the proxy.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The tags to assign to the application. 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 application. 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 application. 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 CreateApplicationFluentBuilder
impl Clone for CreateApplicationFluentBuilder
source§fn clone(&self) -> CreateApplicationFluentBuilder
fn clone(&self) -> CreateApplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more