Struct aws_sdk_kinesisanalyticsv2::operation::update_application::builders::UpdateApplicationInputBuilder
source · #[non_exhaustive]pub struct UpdateApplicationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateApplicationInput
.
Implementations§
source§impl UpdateApplicationInputBuilder
impl UpdateApplicationInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application to update.
This field is required.sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application to update.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application to update.
sourcepub fn current_application_version_id(self, input: i64) -> Self
pub fn current_application_version_id(self, input: i64) -> Self
The current application version ID. You must provide the CurrentApplicationVersionId
or the ConditionalToken
.You can retrieve the application version ID using DescribeApplication
. For better concurrency support, use the ConditionalToken
parameter instead of CurrentApplicationVersionId
.
sourcepub fn set_current_application_version_id(self, input: Option<i64>) -> Self
pub fn set_current_application_version_id(self, input: Option<i64>) -> Self
The current application version ID. You must provide the CurrentApplicationVersionId
or the ConditionalToken
.You can retrieve the application version ID using DescribeApplication
. For better concurrency support, use the ConditionalToken
parameter instead of CurrentApplicationVersionId
.
sourcepub fn get_current_application_version_id(&self) -> &Option<i64>
pub fn get_current_application_version_id(&self) -> &Option<i64>
The current application version ID. You must provide the CurrentApplicationVersionId
or the ConditionalToken
.You can retrieve the application version ID using DescribeApplication
. For better concurrency support, use the ConditionalToken
parameter instead of CurrentApplicationVersionId
.
sourcepub fn application_configuration_update(
self,
input: ApplicationConfigurationUpdate
) -> Self
pub fn application_configuration_update( self, input: ApplicationConfigurationUpdate ) -> Self
Describes application configuration updates.
sourcepub fn set_application_configuration_update(
self,
input: Option<ApplicationConfigurationUpdate>
) -> Self
pub fn set_application_configuration_update( self, input: Option<ApplicationConfigurationUpdate> ) -> Self
Describes application configuration updates.
sourcepub fn get_application_configuration_update(
&self
) -> &Option<ApplicationConfigurationUpdate>
pub fn get_application_configuration_update( &self ) -> &Option<ApplicationConfigurationUpdate>
Describes application configuration updates.
sourcepub fn service_execution_role_update(self, input: impl Into<String>) -> Self
pub fn service_execution_role_update(self, input: impl Into<String>) -> Self
Describes updates to the service execution role.
sourcepub fn set_service_execution_role_update(self, input: Option<String>) -> Self
pub fn set_service_execution_role_update(self, input: Option<String>) -> Self
Describes updates to the service execution role.
sourcepub fn get_service_execution_role_update(&self) -> &Option<String>
pub fn get_service_execution_role_update(&self) -> &Option<String>
Describes updates to the service execution role.
sourcepub fn run_configuration_update(self, input: RunConfigurationUpdate) -> Self
pub fn run_configuration_update(self, input: RunConfigurationUpdate) -> Self
Describes updates to the application's starting parameters.
sourcepub fn set_run_configuration_update(
self,
input: Option<RunConfigurationUpdate>
) -> Self
pub fn set_run_configuration_update( self, input: Option<RunConfigurationUpdate> ) -> Self
Describes updates to the application's starting parameters.
sourcepub fn get_run_configuration_update(&self) -> &Option<RunConfigurationUpdate>
pub fn get_run_configuration_update(&self) -> &Option<RunConfigurationUpdate>
Describes updates to the application's starting parameters.
sourcepub fn cloud_watch_logging_option_updates(
self,
input: CloudWatchLoggingOptionUpdate
) -> Self
pub fn cloud_watch_logging_option_updates( self, input: CloudWatchLoggingOptionUpdate ) -> Self
Appends an item to cloud_watch_logging_option_updates
.
To override the contents of this collection use set_cloud_watch_logging_option_updates
.
Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption
.
sourcepub fn set_cloud_watch_logging_option_updates(
self,
input: Option<Vec<CloudWatchLoggingOptionUpdate>>
) -> Self
pub fn set_cloud_watch_logging_option_updates( self, input: Option<Vec<CloudWatchLoggingOptionUpdate>> ) -> Self
Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption
.
sourcepub fn get_cloud_watch_logging_option_updates(
&self
) -> &Option<Vec<CloudWatchLoggingOptionUpdate>>
pub fn get_cloud_watch_logging_option_updates( &self ) -> &Option<Vec<CloudWatchLoggingOptionUpdate>>
Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption
.
sourcepub fn conditional_token(self, input: impl Into<String>) -> Self
pub fn conditional_token(self, input: impl Into<String>) -> Self
A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId
or the ConditionalToken
. You get the application's current ConditionalToken
using DescribeApplication
. For better concurrency support, use the ConditionalToken
parameter instead of CurrentApplicationVersionId
.
sourcepub fn set_conditional_token(self, input: Option<String>) -> Self
pub fn set_conditional_token(self, input: Option<String>) -> Self
A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId
or the ConditionalToken
. You get the application's current ConditionalToken
using DescribeApplication
. For better concurrency support, use the ConditionalToken
parameter instead of CurrentApplicationVersionId
.
sourcepub fn get_conditional_token(&self) -> &Option<String>
pub fn get_conditional_token(&self) -> &Option<String>
A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId
or the ConditionalToken
. You get the application's current ConditionalToken
using DescribeApplication
. For better concurrency support, use the ConditionalToken
parameter instead of CurrentApplicationVersionId
.
sourcepub fn runtime_environment_update(self, input: RuntimeEnvironment) -> Self
pub fn runtime_environment_update(self, input: RuntimeEnvironment) -> Self
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
sourcepub fn set_runtime_environment_update(
self,
input: Option<RuntimeEnvironment>
) -> Self
pub fn set_runtime_environment_update( self, input: Option<RuntimeEnvironment> ) -> Self
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
sourcepub fn get_runtime_environment_update(&self) -> &Option<RuntimeEnvironment>
pub fn get_runtime_environment_update(&self) -> &Option<RuntimeEnvironment>
Updates the Managed Service for Apache Flink runtime environment used to run your code. To avoid issues you must:
-
Ensure your new jar and dependencies are compatible with the new runtime selected.
-
Ensure your new code's state is compatible with the snapshot from which your application will start
sourcepub fn build(self) -> Result<UpdateApplicationInput, BuildError>
pub fn build(self) -> Result<UpdateApplicationInput, BuildError>
Consumes the builder and constructs a UpdateApplicationInput
.
source§impl UpdateApplicationInputBuilder
impl UpdateApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateApplicationInputBuilder
impl Clone for UpdateApplicationInputBuilder
source§fn clone(&self) -> UpdateApplicationInputBuilder
fn clone(&self) -> UpdateApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateApplicationInputBuilder
impl Default for UpdateApplicationInputBuilder
source§fn default() -> UpdateApplicationInputBuilder
fn default() -> UpdateApplicationInputBuilder
source§impl PartialEq for UpdateApplicationInputBuilder
impl PartialEq for UpdateApplicationInputBuilder
source§fn eq(&self, other: &UpdateApplicationInputBuilder) -> bool
fn eq(&self, other: &UpdateApplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateApplicationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateApplicationInputBuilder
impl RefUnwindSafe for UpdateApplicationInputBuilder
impl Send for UpdateApplicationInputBuilder
impl Sync for UpdateApplicationInputBuilder
impl Unpin for UpdateApplicationInputBuilder
impl UnwindSafe for UpdateApplicationInputBuilder
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