Struct aws_sdk_redshift::operation::describe_cluster_versions::builders::DescribeClusterVersionsInputBuilder
source · #[non_exhaustive]pub struct DescribeClusterVersionsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeClusterVersionsInput
.
Implementations§
source§impl DescribeClusterVersionsInputBuilder
impl DescribeClusterVersionsInputBuilder
sourcepub fn cluster_version(self, input: impl Into<String>) -> Self
pub fn cluster_version(self, input: impl Into<String>) -> Self
The specific cluster version to return.
Example: 1.0
sourcepub fn set_cluster_version(self, input: Option<String>) -> Self
pub fn set_cluster_version(self, input: Option<String>) -> Self
The specific cluster version to return.
Example: 1.0
sourcepub fn get_cluster_version(&self) -> &Option<String>
pub fn get_cluster_version(&self) -> &Option<String>
The specific cluster version to return.
Example: 1.0
sourcepub fn cluster_parameter_group_family(self, input: impl Into<String>) -> Self
pub fn cluster_parameter_group_family(self, input: impl Into<String>) -> Self
The name of a specific cluster parameter group family to return details for.
Constraints:
-
Must be 1 to 255 alphanumeric characters
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
sourcepub fn set_cluster_parameter_group_family(self, input: Option<String>) -> Self
pub fn set_cluster_parameter_group_family(self, input: Option<String>) -> Self
The name of a specific cluster parameter group family to return details for.
Constraints:
-
Must be 1 to 255 alphanumeric characters
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
sourcepub fn get_cluster_parameter_group_family(&self) -> &Option<String>
pub fn get_cluster_parameter_group_family(&self) -> &Option<String>
The name of a specific cluster parameter group family to return details for.
Constraints:
-
Must be 1 to 255 alphanumeric characters
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
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 a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 to return a set of response records. When the results of a DescribeClusterVersions
request exceed the value specified in MaxRecords
, Amazon Web Services 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.
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 to return a set of response records. When the results of a DescribeClusterVersions
request exceed the value specified in MaxRecords
, Amazon Web Services 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.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions
request exceed the value specified in MaxRecords
, Amazon Web Services 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.
sourcepub fn build(self) -> Result<DescribeClusterVersionsInput, BuildError>
pub fn build(self) -> Result<DescribeClusterVersionsInput, BuildError>
Consumes the builder and constructs a DescribeClusterVersionsInput
.
source§impl DescribeClusterVersionsInputBuilder
impl DescribeClusterVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeClusterVersionsOutput, SdkError<DescribeClusterVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeClusterVersionsOutput, SdkError<DescribeClusterVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeClusterVersionsInputBuilder
impl Clone for DescribeClusterVersionsInputBuilder
source§fn clone(&self) -> DescribeClusterVersionsInputBuilder
fn clone(&self) -> DescribeClusterVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeClusterVersionsInputBuilder
impl Default for DescribeClusterVersionsInputBuilder
source§fn default() -> DescribeClusterVersionsInputBuilder
fn default() -> DescribeClusterVersionsInputBuilder
source§impl PartialEq for DescribeClusterVersionsInputBuilder
impl PartialEq for DescribeClusterVersionsInputBuilder
source§fn eq(&self, other: &DescribeClusterVersionsInputBuilder) -> bool
fn eq(&self, other: &DescribeClusterVersionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.