Struct aws_sdk_memorydb::operation::describe_engine_versions::builders::DescribeEngineVersionsInputBuilder
source · #[non_exhaustive]pub struct DescribeEngineVersionsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeEngineVersionsInput
.
Implementations§
source§impl DescribeEngineVersionsInputBuilder
impl DescribeEngineVersionsInputBuilder
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The Redis engine version
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The Redis engine version
sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
The Redis engine version
sourcepub fn parameter_group_family(self, input: impl Into<String>) -> Self
pub fn parameter_group_family(self, input: impl Into<String>) -> Self
The name of a specific parameter group family to return details for.
sourcepub fn set_parameter_group_family(self, input: Option<String>) -> Self
pub fn set_parameter_group_family(self, input: Option<String>) -> Self
The name of a specific parameter group family to return details for.
sourcepub fn get_parameter_group_family(&self) -> &Option<String>
pub fn get_parameter_group_family(&self) -> &Option<String>
The name of a specific parameter group family to return details for.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn default_only(self, input: bool) -> Self
pub fn default_only(self, input: bool) -> Self
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
sourcepub fn set_default_only(self, input: Option<bool>) -> Self
pub fn set_default_only(self, input: Option<bool>) -> Self
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
sourcepub fn get_default_only(&self) -> &Option<bool>
pub fn get_default_only(&self) -> &Option<bool>
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
sourcepub fn build(self) -> Result<DescribeEngineVersionsInput, BuildError>
pub fn build(self) -> Result<DescribeEngineVersionsInput, BuildError>
Consumes the builder and constructs a DescribeEngineVersionsInput
.
source§impl DescribeEngineVersionsInputBuilder
impl DescribeEngineVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeEngineVersionsOutput, SdkError<DescribeEngineVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeEngineVersionsOutput, SdkError<DescribeEngineVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeEngineVersionsInputBuilder
impl Clone for DescribeEngineVersionsInputBuilder
source§fn clone(&self) -> DescribeEngineVersionsInputBuilder
fn clone(&self) -> DescribeEngineVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEngineVersionsInputBuilder
impl Default for DescribeEngineVersionsInputBuilder
source§fn default() -> DescribeEngineVersionsInputBuilder
fn default() -> DescribeEngineVersionsInputBuilder
source§impl PartialEq for DescribeEngineVersionsInputBuilder
impl PartialEq for DescribeEngineVersionsInputBuilder
source§fn eq(&self, other: &DescribeEngineVersionsInputBuilder) -> bool
fn eq(&self, other: &DescribeEngineVersionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.