Struct aws_sdk_dax::input::describe_parameter_groups_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeParameterGroupsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn parameter_group_names(self, input: impl Into<String>) -> Self
pub fn parameter_group_names(self, input: impl Into<String>) -> Self
Appends an item to parameter_group_names
.
To override the contents of this collection use set_parameter_group_names
.
The names of the parameter groups.
sourcepub fn set_parameter_group_names(self, input: Option<Vec<String>>) -> Self
pub fn set_parameter_group_names(self, input: Option<Vec<String>>) -> Self
The names of the parameter groups.
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<DescribeParameterGroupsInput, BuildError>
pub fn build(self) -> Result<DescribeParameterGroupsInput, BuildError>
Consumes the builder and constructs a DescribeParameterGroupsInput
.