Struct aws_sdk_redshift::types::builders::ClusterDbRevisionBuilder
source · #[non_exhaustive]pub struct ClusterDbRevisionBuilder { /* private fields */ }
Expand description
A builder for ClusterDbRevision
.
Implementations§
source§impl ClusterDbRevisionBuilder
impl ClusterDbRevisionBuilder
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.
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.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of the cluster.
sourcepub fn current_database_revision(self, input: impl Into<String>) -> Self
pub fn current_database_revision(self, input: impl Into<String>) -> Self
A string representing the current cluster version.
sourcepub fn set_current_database_revision(self, input: Option<String>) -> Self
pub fn set_current_database_revision(self, input: Option<String>) -> Self
A string representing the current cluster version.
sourcepub fn get_current_database_revision(&self) -> &Option<String>
pub fn get_current_database_revision(&self) -> &Option<String>
A string representing the current cluster version.
sourcepub fn database_revision_release_date(self, input: DateTime) -> Self
pub fn database_revision_release_date(self, input: DateTime) -> Self
The date on which the database revision was released.
sourcepub fn set_database_revision_release_date(self, input: Option<DateTime>) -> Self
pub fn set_database_revision_release_date(self, input: Option<DateTime>) -> Self
The date on which the database revision was released.
sourcepub fn get_database_revision_release_date(&self) -> &Option<DateTime>
pub fn get_database_revision_release_date(&self) -> &Option<DateTime>
The date on which the database revision was released.
sourcepub fn revision_targets(self, input: RevisionTarget) -> Self
pub fn revision_targets(self, input: RevisionTarget) -> Self
Appends an item to revision_targets
.
To override the contents of this collection use set_revision_targets
.
A list of RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
sourcepub fn set_revision_targets(self, input: Option<Vec<RevisionTarget>>) -> Self
pub fn set_revision_targets(self, input: Option<Vec<RevisionTarget>>) -> Self
A list of RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
sourcepub fn get_revision_targets(&self) -> &Option<Vec<RevisionTarget>>
pub fn get_revision_targets(&self) -> &Option<Vec<RevisionTarget>>
A list of RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.
sourcepub fn build(self) -> ClusterDbRevision
pub fn build(self) -> ClusterDbRevision
Consumes the builder and constructs a ClusterDbRevision
.
Trait Implementations§
source§impl Clone for ClusterDbRevisionBuilder
impl Clone for ClusterDbRevisionBuilder
source§fn clone(&self) -> ClusterDbRevisionBuilder
fn clone(&self) -> ClusterDbRevisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterDbRevisionBuilder
impl Debug for ClusterDbRevisionBuilder
source§impl Default for ClusterDbRevisionBuilder
impl Default for ClusterDbRevisionBuilder
source§fn default() -> ClusterDbRevisionBuilder
fn default() -> ClusterDbRevisionBuilder
source§impl PartialEq for ClusterDbRevisionBuilder
impl PartialEq for ClusterDbRevisionBuilder
source§fn eq(&self, other: &ClusterDbRevisionBuilder) -> bool
fn eq(&self, other: &ClusterDbRevisionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.