Struct aws_sdk_migrationhubrefactorspaces::operation::create_application::builders::CreateApplicationInputBuilder
source · #[non_exhaustive]pub struct CreateApplicationInputBuilder { /* private fields */ }
Expand description
A builder for CreateApplicationInput
.
Implementations§
source§impl CreateApplicationInputBuilder
impl CreateApplicationInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name to use for the application.
This field is required.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.
This field is required.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).
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateApplicationInput, BuildError>
pub fn build(self) -> Result<CreateApplicationInput, BuildError>
Consumes the builder and constructs a CreateApplicationInput
.
source§impl CreateApplicationInputBuilder
impl CreateApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateApplicationInputBuilder
impl Clone for CreateApplicationInputBuilder
source§fn clone(&self) -> CreateApplicationInputBuilder
fn clone(&self) -> CreateApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateApplicationInputBuilder
impl Default for CreateApplicationInputBuilder
source§fn default() -> CreateApplicationInputBuilder
fn default() -> CreateApplicationInputBuilder
source§impl PartialEq for CreateApplicationInputBuilder
impl PartialEq for CreateApplicationInputBuilder
source§fn eq(&self, other: &CreateApplicationInputBuilder) -> bool
fn eq(&self, other: &CreateApplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.