Struct aws_sdk_rds::client::fluent_builders::BacktrackDBCluster
source · [−]pub struct BacktrackDBCluster { /* private fields */ }Expand description
Fluent builder constructing a request to BacktrackDBCluster.
Backtracks a DB cluster to a specific time, without creating a new DB cluster.
For more information on backtracking, see Backtracking an Aurora DB Cluster in the Amazon Aurora User Guide.
This action applies only to Aurora MySQL DB clusters.
Implementations
sourceimpl BacktrackDBCluster
impl BacktrackDBCluster
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<BacktrackDBCluster, AwsResponseRetryClassifier>, SdkError<BacktrackDBClusterError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<BacktrackDBCluster, AwsResponseRetryClassifier>, SdkError<BacktrackDBClusterError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<BacktrackDbClusterOutput, SdkError<BacktrackDBClusterError>>
pub async fn send(
self
) -> Result<BacktrackDbClusterOutput, SdkError<BacktrackDBClusterError>>
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 db_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
The DB cluster identifier of the DB cluster to be backtracked. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
sourcepub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
The DB cluster identifier of the DB cluster to be backtracked. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
sourcepub fn backtrack_to(self, input: DateTime) -> Self
pub fn backtrack_to(self, input: DateTime) -> Self
The timestamp of the time to backtrack the DB cluster to, specified in ISO 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
If the specified time isn't a consistent time for the DB cluster, Aurora automatically chooses the nearest possible consistent time for the DB cluster.
Constraints:
-
Must contain a valid ISO 8601 timestamp.
-
Can't contain a timestamp set in the future.
Example: 2017-07-08T18:00Z
sourcepub fn set_backtrack_to(self, input: Option<DateTime>) -> Self
pub fn set_backtrack_to(self, input: Option<DateTime>) -> Self
The timestamp of the time to backtrack the DB cluster to, specified in ISO 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
If the specified time isn't a consistent time for the DB cluster, Aurora automatically chooses the nearest possible consistent time for the DB cluster.
Constraints:
-
Must contain a valid ISO 8601 timestamp.
-
Can't contain a timestamp set in the future.
Example: 2017-07-08T18:00Z
sourcepub fn force(self, input: bool) -> Self
pub fn force(self, input: bool) -> Self
A value that indicates whether to force the DB cluster to backtrack when binary logging is enabled. Otherwise, an error occurs when binary logging is enabled.
sourcepub fn set_force(self, input: Option<bool>) -> Self
pub fn set_force(self, input: Option<bool>) -> Self
A value that indicates whether to force the DB cluster to backtrack when binary logging is enabled. Otherwise, an error occurs when binary logging is enabled.
A value that indicates whether to backtrack the DB cluster to the earliest possible backtrack time when BacktrackTo is set to a timestamp earlier than the earliest backtrack time. When this parameter is disabled and BacktrackTo is set to a timestamp earlier than the earliest backtrack time, an error occurs.
A value that indicates whether to backtrack the DB cluster to the earliest possible backtrack time when BacktrackTo is set to a timestamp earlier than the earliest backtrack time. When this parameter is disabled and BacktrackTo is set to a timestamp earlier than the earliest backtrack time, an error occurs.
Trait Implementations
sourceimpl Clone for BacktrackDBCluster
impl Clone for BacktrackDBCluster
sourcefn clone(&self) -> BacktrackDBCluster
fn clone(&self) -> BacktrackDBCluster
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more