Struct aws_sdk_appintegrations::operation::create_application::builders::CreateApplicationFluentBuilder
source · pub struct CreateApplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateApplication
.
This API is in preview release and subject to change.
Creates and persists an Application resource.
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 set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace of the application.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespace of the application.
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 application_source_config(self, input: ApplicationSourceConfig) -> Self
pub fn application_source_config(self, input: ApplicationSourceConfig) -> Self
The configuration for where the application should be loaded from.
sourcepub fn set_application_source_config(
self,
input: Option<ApplicationSourceConfig>
) -> Self
pub fn set_application_source_config( self, input: Option<ApplicationSourceConfig> ) -> Self
The configuration for where the application should be loaded from.
sourcepub fn get_application_source_config(&self) -> &Option<ApplicationSourceConfig>
pub fn get_application_source_config(&self) -> &Option<ApplicationSourceConfig>
The configuration for where the application should be loaded from.
sourcepub fn subscriptions(self, input: Subscription) -> Self
👎Deprecated: Subscriptions has been replaced with Permissions
pub fn subscriptions(self, input: Subscription) -> Self
Appends an item to Subscriptions
.
To override the contents of this collection use set_subscriptions
.
The events that the application subscribes.
sourcepub fn set_subscriptions(self, input: Option<Vec<Subscription>>) -> Self
👎Deprecated: Subscriptions has been replaced with Permissions
pub fn set_subscriptions(self, input: Option<Vec<Subscription>>) -> Self
The events that the application subscribes.
sourcepub fn get_subscriptions(&self) -> &Option<Vec<Subscription>>
👎Deprecated: Subscriptions has been replaced with Permissions
pub fn get_subscriptions(&self) -> &Option<Vec<Subscription>>
The events that the application subscribes.
sourcepub fn publications(self, input: Publication) -> Self
👎Deprecated: Publications has been replaced with Permissions
pub fn publications(self, input: Publication) -> Self
Appends an item to Publications
.
To override the contents of this collection use set_publications
.
The events that the application publishes.
sourcepub fn set_publications(self, input: Option<Vec<Publication>>) -> Self
👎Deprecated: Publications has been replaced with Permissions
pub fn set_publications(self, input: Option<Vec<Publication>>) -> Self
The events that the application publishes.
sourcepub fn get_publications(&self) -> &Option<Vec<Publication>>
👎Deprecated: Publications has been replaced with Permissions
pub fn get_publications(&self) -> &Option<Vec<Publication>>
The events that the application publishes.
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. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
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. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
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. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn permissions(self, input: impl Into<String>) -> Self
pub fn permissions(self, input: impl Into<String>) -> Self
Appends an item to Permissions
.
To override the contents of this collection use set_permissions
.
The configuration of events or requests that the application has access to.
sourcepub fn set_permissions(self, input: Option<Vec<String>>) -> Self
pub fn set_permissions(self, input: Option<Vec<String>>) -> Self
The configuration of events or requests that the application has access to.
sourcepub fn get_permissions(&self) -> &Option<Vec<String>>
pub fn get_permissions(&self) -> &Option<Vec<String>>
The configuration of events or requests that the application has access to.
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