Struct aws_sdk_redshift::operation::describe_cluster_db_revisions::builders::DescribeClusterDbRevisionsInputBuilder
source · #[non_exhaustive]pub struct DescribeClusterDbRevisionsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeClusterDbRevisionsInput
.
Implementations§
source§impl DescribeClusterDbRevisionsInputBuilder
impl DescribeClusterDbRevisionsInputBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
A unique identifier for a cluster whose ClusterDbRevisions
you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
A unique identifier for a cluster whose ClusterDbRevisions
you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
A unique identifier for a cluster whose ClusterDbRevisions
you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker
field of the response. You can retrieve the next set of response records by providing the returned marker
value in the marker
parameter and retrying the request.
Default: 100
Constraints: minimum 20, maximum 100.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker
field of the response. You can retrieve the next set of response records by providing the returned marker
value in the marker
parameter and retrying the request.
Default: 100
Constraints: minimum 20, maximum 100.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker
field of the response. You can retrieve the next set of response records by providing the returned marker
value in the marker
parameter and retrying the request.
Default: 100
Constraints: minimum 20, maximum 100.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions
request exceed the value specified in MaxRecords
, Amazon Redshift returns a value in the marker
field of the response. You can retrieve the next set of response records by providing the returned marker
value in the marker
parameter and retrying the request.
Constraints: You can specify either the ClusterIdentifier
parameter, or the marker
parameter, but not both.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions
request exceed the value specified in MaxRecords
, Amazon Redshift returns a value in the marker
field of the response. You can retrieve the next set of response records by providing the returned marker
value in the marker
parameter and retrying the request.
Constraints: You can specify either the ClusterIdentifier
parameter, or the marker
parameter, but not both.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions
request exceed the value specified in MaxRecords
, Amazon Redshift returns a value in the marker
field of the response. You can retrieve the next set of response records by providing the returned marker
value in the marker
parameter and retrying the request.
Constraints: You can specify either the ClusterIdentifier
parameter, or the marker
parameter, but not both.
sourcepub fn build(self) -> Result<DescribeClusterDbRevisionsInput, BuildError>
pub fn build(self) -> Result<DescribeClusterDbRevisionsInput, BuildError>
Consumes the builder and constructs a DescribeClusterDbRevisionsInput
.
source§impl DescribeClusterDbRevisionsInputBuilder
impl DescribeClusterDbRevisionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeClusterDbRevisionsOutput, SdkError<DescribeClusterDbRevisionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeClusterDbRevisionsOutput, SdkError<DescribeClusterDbRevisionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeClusterDbRevisionsInputBuilder
impl Clone for DescribeClusterDbRevisionsInputBuilder
source§fn clone(&self) -> DescribeClusterDbRevisionsInputBuilder
fn clone(&self) -> DescribeClusterDbRevisionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeClusterDbRevisionsInputBuilder
impl Default for DescribeClusterDbRevisionsInputBuilder
source§fn default() -> DescribeClusterDbRevisionsInputBuilder
fn default() -> DescribeClusterDbRevisionsInputBuilder
source§impl PartialEq for DescribeClusterDbRevisionsInputBuilder
impl PartialEq for DescribeClusterDbRevisionsInputBuilder
source§fn eq(&self, other: &DescribeClusterDbRevisionsInputBuilder) -> bool
fn eq(&self, other: &DescribeClusterDbRevisionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.