Struct aws_sdk_kinesisanalyticsv2::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 application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of your application (for example, sample-app).
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of your application (for example, sample-app).
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of your application (for example, sample-app).
sourcepub fn application_description(self, input: impl Into<String>) -> Self
pub fn application_description(self, input: impl Into<String>) -> Self
A summary description of the application.
sourcepub fn set_application_description(self, input: Option<String>) -> Self
pub fn set_application_description(self, input: Option<String>) -> Self
A summary description of the application.
sourcepub fn get_application_description(&self) -> &Option<String>
pub fn get_application_description(&self) -> &Option<String>
A summary description of the application.
sourcepub fn runtime_environment(self, input: RuntimeEnvironment) -> Self
pub fn runtime_environment(self, input: RuntimeEnvironment) -> Self
The runtime environment for the application.
This field is required.sourcepub fn set_runtime_environment(self, input: Option<RuntimeEnvironment>) -> Self
pub fn set_runtime_environment(self, input: Option<RuntimeEnvironment>) -> Self
The runtime environment for the application.
sourcepub fn get_runtime_environment(&self) -> &Option<RuntimeEnvironment>
pub fn get_runtime_environment(&self) -> &Option<RuntimeEnvironment>
The runtime environment for the application.
sourcepub fn service_execution_role(self, input: impl Into<String>) -> Self
pub fn service_execution_role(self, input: impl Into<String>) -> Self
The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources.
This field is required.sourcepub fn set_service_execution_role(self, input: Option<String>) -> Self
pub fn set_service_execution_role(self, input: Option<String>) -> Self
The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources.
sourcepub fn get_service_execution_role(&self) -> &Option<String>
pub fn get_service_execution_role(&self) -> &Option<String>
The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources.
sourcepub fn application_configuration(self, input: ApplicationConfiguration) -> Self
pub fn application_configuration(self, input: ApplicationConfiguration) -> Self
Use this parameter to configure the application.
sourcepub fn set_application_configuration(
self,
input: Option<ApplicationConfiguration>
) -> Self
pub fn set_application_configuration( self, input: Option<ApplicationConfiguration> ) -> Self
Use this parameter to configure the application.
sourcepub fn get_application_configuration(&self) -> &Option<ApplicationConfiguration>
pub fn get_application_configuration(&self) -> &Option<ApplicationConfiguration>
Use this parameter to configure the application.
sourcepub fn cloud_watch_logging_options(self, input: CloudWatchLoggingOption) -> Self
pub fn cloud_watch_logging_options(self, input: CloudWatchLoggingOption) -> Self
Appends an item to cloud_watch_logging_options.
To override the contents of this collection use set_cloud_watch_logging_options.
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
sourcepub fn set_cloud_watch_logging_options(
self,
input: Option<Vec<CloudWatchLoggingOption>>
) -> Self
pub fn set_cloud_watch_logging_options( self, input: Option<Vec<CloudWatchLoggingOption>> ) -> Self
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
sourcepub fn get_cloud_watch_logging_options(
&self
) -> &Option<Vec<CloudWatchLoggingOption>>
pub fn get_cloud_watch_logging_options( &self ) -> &Option<Vec<CloudWatchLoggingOption>>
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of one or more tags to assign to the application. A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
A list of one or more tags to assign to the application. A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
A list of one or more tags to assign to the application. A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
sourcepub fn application_mode(self, input: ApplicationMode) -> Self
pub fn application_mode(self, input: ApplicationMode) -> Self
Use the STREAMING mode to create a Kinesis Data Analytics For Flink application. To create a Kinesis Data Analytics Studio notebook, use the INTERACTIVE mode.
sourcepub fn set_application_mode(self, input: Option<ApplicationMode>) -> Self
pub fn set_application_mode(self, input: Option<ApplicationMode>) -> Self
Use the STREAMING mode to create a Kinesis Data Analytics For Flink application. To create a Kinesis Data Analytics Studio notebook, use the INTERACTIVE mode.
sourcepub fn get_application_mode(&self) -> &Option<ApplicationMode>
pub fn get_application_mode(&self) -> &Option<ApplicationMode>
Use the STREAMING mode to create a Kinesis Data Analytics For Flink application. To create a Kinesis Data Analytics Studio notebook, use the INTERACTIVE mode.
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 ==.