Struct aws_sdk_kinesisanalyticsv2::operation::update_application_maintenance_configuration::builders::UpdateApplicationMaintenanceConfigurationFluentBuilder
source · pub struct UpdateApplicationMaintenanceConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateApplicationMaintenanceConfiguration
.
Updates the maintenance configuration of the Managed Service for Apache Flink application.
You can invoke this operation on an application that is in one of the two following states: READY
or RUNNING
. If you invoke it when the application is in a state other than these two states, it throws a ResourceInUseException
. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.
To see the current maintenance configuration of your application, invoke the DescribeApplication
operation.
For information about application maintenance, see Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
Implementations§
source§impl UpdateApplicationMaintenanceConfigurationFluentBuilder
impl UpdateApplicationMaintenanceConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateApplicationMaintenanceConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateApplicationMaintenanceConfigurationInputBuilder
Access the UpdateApplicationMaintenanceConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateApplicationMaintenanceConfigurationOutput, SdkError<UpdateApplicationMaintenanceConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateApplicationMaintenanceConfigurationOutput, SdkError<UpdateApplicationMaintenanceConfigurationError, 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<UpdateApplicationMaintenanceConfigurationOutput, UpdateApplicationMaintenanceConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateApplicationMaintenanceConfigurationOutput, UpdateApplicationMaintenanceConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 for which you want to update the maintenance configuration.
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 for which you want to update the maintenance configuration.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application for which you want to update the maintenance configuration.
sourcepub fn application_maintenance_configuration_update(
self,
input: ApplicationMaintenanceConfigurationUpdate
) -> Self
pub fn application_maintenance_configuration_update( self, input: ApplicationMaintenanceConfigurationUpdate ) -> Self
Describes the application maintenance configuration update.
sourcepub fn set_application_maintenance_configuration_update(
self,
input: Option<ApplicationMaintenanceConfigurationUpdate>
) -> Self
pub fn set_application_maintenance_configuration_update( self, input: Option<ApplicationMaintenanceConfigurationUpdate> ) -> Self
Describes the application maintenance configuration update.
sourcepub fn get_application_maintenance_configuration_update(
&self
) -> &Option<ApplicationMaintenanceConfigurationUpdate>
pub fn get_application_maintenance_configuration_update( &self ) -> &Option<ApplicationMaintenanceConfigurationUpdate>
Describes the application maintenance configuration update.
Trait Implementations§
source§impl Clone for UpdateApplicationMaintenanceConfigurationFluentBuilder
impl Clone for UpdateApplicationMaintenanceConfigurationFluentBuilder
source§fn clone(&self) -> UpdateApplicationMaintenanceConfigurationFluentBuilder
fn clone(&self) -> UpdateApplicationMaintenanceConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateApplicationMaintenanceConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateApplicationMaintenanceConfigurationFluentBuilder
impl Send for UpdateApplicationMaintenanceConfigurationFluentBuilder
impl Sync for UpdateApplicationMaintenanceConfigurationFluentBuilder
impl Unpin for UpdateApplicationMaintenanceConfigurationFluentBuilder
impl !UnwindSafe for UpdateApplicationMaintenanceConfigurationFluentBuilder
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