Struct aws_sdk_redshift::operation::failover_primary_compute::builders::FailoverPrimaryComputeFluentBuilder
source · pub struct FailoverPrimaryComputeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to FailoverPrimaryCompute
.
Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
Implementations§
source§impl FailoverPrimaryComputeFluentBuilder
impl FailoverPrimaryComputeFluentBuilder
sourcepub fn as_input(&self) -> &FailoverPrimaryComputeInputBuilder
pub fn as_input(&self) -> &FailoverPrimaryComputeInputBuilder
Access the FailoverPrimaryCompute as a reference.
sourcepub async fn send(
self
) -> Result<FailoverPrimaryComputeOutput, SdkError<FailoverPrimaryComputeError, HttpResponse>>
pub async fn send( self ) -> Result<FailoverPrimaryComputeOutput, SdkError<FailoverPrimaryComputeError, 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<FailoverPrimaryComputeOutput, FailoverPrimaryComputeError, Self>
pub fn customize( self ) -> CustomizableOperation<FailoverPrimaryComputeOutput, FailoverPrimaryComputeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.
Trait Implementations§
source§impl Clone for FailoverPrimaryComputeFluentBuilder
impl Clone for FailoverPrimaryComputeFluentBuilder
source§fn clone(&self) -> FailoverPrimaryComputeFluentBuilder
fn clone(&self) -> FailoverPrimaryComputeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more