Struct aws_sdk_redshift::operation::modify_cluster_db_revision::builders::ModifyClusterDbRevisionInputBuilder
source · #[non_exhaustive]pub struct ModifyClusterDbRevisionInputBuilder { /* private fields */ }
Expand description
A builder for ModifyClusterDbRevisionInput
.
Implementations§
source§impl ModifyClusterDbRevisionInputBuilder
impl ModifyClusterDbRevisionInputBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of a cluster whose database revision you want to modify.
Example: examplecluster
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of a cluster whose database revision you want to modify.
Example: examplecluster
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of a cluster whose database revision you want to modify.
Example: examplecluster
sourcepub fn revision_target(self, input: impl Into<String>) -> Self
pub fn revision_target(self, input: impl Into<String>) -> Self
The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions
request.
sourcepub fn set_revision_target(self, input: Option<String>) -> Self
pub fn set_revision_target(self, input: Option<String>) -> Self
The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions
request.
sourcepub fn get_revision_target(&self) -> &Option<String>
pub fn get_revision_target(&self) -> &Option<String>
The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions
request.
sourcepub fn build(self) -> Result<ModifyClusterDbRevisionInput, BuildError>
pub fn build(self) -> Result<ModifyClusterDbRevisionInput, BuildError>
Consumes the builder and constructs a ModifyClusterDbRevisionInput
.
source§impl ModifyClusterDbRevisionInputBuilder
impl ModifyClusterDbRevisionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyClusterDbRevisionOutput, SdkError<ModifyClusterDbRevisionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyClusterDbRevisionOutput, SdkError<ModifyClusterDbRevisionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyClusterDbRevisionInputBuilder
impl Clone for ModifyClusterDbRevisionInputBuilder
source§fn clone(&self) -> ModifyClusterDbRevisionInputBuilder
fn clone(&self) -> ModifyClusterDbRevisionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyClusterDbRevisionInputBuilder
impl Default for ModifyClusterDbRevisionInputBuilder
source§fn default() -> ModifyClusterDbRevisionInputBuilder
fn default() -> ModifyClusterDbRevisionInputBuilder
source§impl PartialEq for ModifyClusterDbRevisionInputBuilder
impl PartialEq for ModifyClusterDbRevisionInputBuilder
source§fn eq(&self, other: &ModifyClusterDbRevisionInputBuilder) -> bool
fn eq(&self, other: &ModifyClusterDbRevisionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.