pub struct CancelClusterFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CancelCluster
.
Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum
status. You'll have at least an hour after creating a cluster job to cancel it.
Implementations§
source§impl CancelClusterFluentBuilder
impl CancelClusterFluentBuilder
sourcepub fn as_input(&self) -> &CancelClusterInputBuilder
pub fn as_input(&self) -> &CancelClusterInputBuilder
Access the CancelCluster as a reference.
sourcepub async fn send(
self
) -> Result<CancelClusterOutput, SdkError<CancelClusterError, HttpResponse>>
pub async fn send( self ) -> Result<CancelClusterOutput, SdkError<CancelClusterError, 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<CancelClusterOutput, CancelClusterError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelClusterOutput, CancelClusterError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000
.
Trait Implementations§
source§impl Clone for CancelClusterFluentBuilder
impl Clone for CancelClusterFluentBuilder
source§fn clone(&self) -> CancelClusterFluentBuilder
fn clone(&self) -> CancelClusterFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more