Struct aws_sdk_dax::input::describe_clusters_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeClustersInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_names(self, input: impl Into<String>) -> Self
pub fn cluster_names(self, input: impl Into<String>) -> Self
Appends an item to cluster_names
.
To override the contents of this collection use set_cluster_names
.
The names of the DAX clusters being described.
sourcepub fn set_cluster_names(self, input: Option<Vec<String>>) -> Self
pub fn set_cluster_names(self, input: Option<Vec<String>>) -> Self
The names of the DAX clusters being described.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
The value for MaxResults
must be between 20 and 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
The value for MaxResults
must be between 20 and 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults
.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults
.
sourcepub fn build(self) -> Result<DescribeClustersInput, BuildError>
pub fn build(self) -> Result<DescribeClustersInput, BuildError>
Consumes the builder and constructs a DescribeClustersInput
.