Struct aws_sdk_kinesisanalyticsv2::operation::rollback_application::builders::RollbackApplicationFluentBuilder
source · pub struct RollbackApplicationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RollbackApplication.
Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status.
You can roll back an application only if it is in the UPDATING or AUTOSCALING status.
When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Kinesis Data Analytics rejects the rollback request.
This action is not supported for Kinesis Data Analytics for SQL applications.
Implementations§
source§impl RollbackApplicationFluentBuilder
impl RollbackApplicationFluentBuilder
sourcepub fn as_input(&self) -> &RollbackApplicationInputBuilder
pub fn as_input(&self) -> &RollbackApplicationInputBuilder
Access the RollbackApplication as a reference.
sourcepub async fn send(
self
) -> Result<RollbackApplicationOutput, SdkError<RollbackApplicationError, HttpResponse>>
pub async fn send( self ) -> Result<RollbackApplicationOutput, SdkError<RollbackApplicationError, 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<RollbackApplicationOutput, RollbackApplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<RollbackApplicationOutput, RollbackApplicationError, 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.
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.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application.
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 can retrieve the application version ID using DescribeApplication.
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 can retrieve the application version ID using DescribeApplication.
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 can retrieve the application version ID using DescribeApplication.
Trait Implementations§
source§impl Clone for RollbackApplicationFluentBuilder
impl Clone for RollbackApplicationFluentBuilder
source§fn clone(&self) -> RollbackApplicationFluentBuilder
fn clone(&self) -> RollbackApplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more