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 ==.impl StructuralPartialEq for DescribeClusterDbRevisionsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeClusterDbRevisionsInputBuilder
impl RefUnwindSafe for DescribeClusterDbRevisionsInputBuilder
impl Send for DescribeClusterDbRevisionsInputBuilder
impl Sync for DescribeClusterDbRevisionsInputBuilder
impl Unpin for DescribeClusterDbRevisionsInputBuilder
impl UnwindSafe for DescribeClusterDbRevisionsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more