Struct aws_sdk_redshift::operation::describe_cluster_versions::builders::DescribeClusterVersionsFluentBuilder
source · pub struct DescribeClusterVersionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeClusterVersions
.
Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Implementations§
source§impl DescribeClusterVersionsFluentBuilder
impl DescribeClusterVersionsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeClusterVersionsInputBuilder
pub fn as_input(&self) -> &DescribeClusterVersionsInputBuilder
Access the DescribeClusterVersions as a reference.
sourcepub async fn send(
self
) -> Result<DescribeClusterVersionsOutput, SdkError<DescribeClusterVersionsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeClusterVersionsOutput, SdkError<DescribeClusterVersionsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeClusterVersionsOutput, DescribeClusterVersionsError>, SdkError<DescribeClusterVersionsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeClusterVersionsOutput, DescribeClusterVersionsError>, SdkError<DescribeClusterVersionsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeClusterVersionsPaginator
pub fn into_paginator(self) -> DescribeClusterVersionsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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.
Trait Implementations§
source§impl Clone for DescribeClusterVersionsFluentBuilder
impl Clone for DescribeClusterVersionsFluentBuilder
source§fn clone(&self) -> DescribeClusterVersionsFluentBuilder
fn clone(&self) -> DescribeClusterVersionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more