Struct aws_sdk_appintegrations::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 of the application.
This field is required.sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The namespace of the application.
This field is required.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.
This field is required.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
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
pub fn set_subscriptions(self, input: Option<Vec<Subscription>>) -> Self
The events that the application subscribes.
sourcepub fn get_subscriptions(&self) -> &Option<Vec<Subscription>>
pub fn get_subscriptions(&self) -> &Option<Vec<Subscription>>
The events that the application subscribes.
sourcepub fn publications(self, input: Publication) -> Self
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
pub fn set_publications(self, input: Option<Vec<Publication>>) -> Self
The events that the application publishes.
sourcepub fn get_publications(&self) -> &Option<Vec<Publication>>
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 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 ==
.