pub struct CreateApplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateApplication
.
Creates a new application with given parameters. Requires an existing runtime environment and application definition file.
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the application.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the application.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the application.
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
The type of the target platform for this application.
sourcepub fn set_engine_type(self, input: Option<EngineType>) -> Self
pub fn set_engine_type(self, input: Option<EngineType>) -> Self
The type of the target platform for this application.
sourcepub fn get_engine_type(&self) -> &Option<EngineType>
pub fn get_engine_type(&self) -> &Option<EngineType>
The type of the target platform for this application.
sourcepub fn definition(self, input: Definition) -> Self
pub fn definition(self, input: Definition) -> Self
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
sourcepub fn set_definition(self, input: Option<Definition>) -> Self
pub fn set_definition(self, input: Option<Definition>) -> Self
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
sourcepub fn get_definition(&self) -> &Option<Definition>
pub fn get_definition(&self) -> &Option<Definition>
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of tags to apply to the application.
A list of tags to apply to the application.
A list of tags to apply to the application.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The identifier of a customer managed key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The identifier of a customer managed key.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The identifier of a customer managed key.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
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 moreAuto Trait Implementations§
impl Freeze for CreateApplicationFluentBuilder
impl !RefUnwindSafe for CreateApplicationFluentBuilder
impl Send for CreateApplicationFluentBuilder
impl Sync for CreateApplicationFluentBuilder
impl Unpin for CreateApplicationFluentBuilder
impl !UnwindSafe for CreateApplicationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more