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
👎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.
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 ==
.impl StructuralPartialEq for CreateApplicationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateApplicationInputBuilder
impl RefUnwindSafe for CreateApplicationInputBuilder
impl Send for CreateApplicationInputBuilder
impl Sync for CreateApplicationInputBuilder
impl Unpin for CreateApplicationInputBuilder
impl UnwindSafe for CreateApplicationInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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