Struct aws_sdk_elasticache::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsInputBuilder
source · #[non_exhaustive]pub struct DescribeCacheParameterGroupsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeCacheParameterGroupsInput
.
Implementations§
source§impl DescribeCacheParameterGroupsInputBuilder
impl DescribeCacheParameterGroupsInputBuilder
sourcepub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
The name of a specific cache parameter group to return details for.
sourcepub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
The name of a specific cache parameter group to return details for.
sourcepub fn get_cache_parameter_group_name(&self) -> &Option<String>
pub fn get_cache_parameter_group_name(&self) -> &Option<String>
The name of a specific cache parameter group to return details for.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
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 records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
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 records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
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 marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
sourcepub fn build(self) -> Result<DescribeCacheParameterGroupsInput, BuildError>
pub fn build(self) -> Result<DescribeCacheParameterGroupsInput, BuildError>
Consumes the builder and constructs a DescribeCacheParameterGroupsInput
.
source§impl DescribeCacheParameterGroupsInputBuilder
impl DescribeCacheParameterGroupsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeCacheParameterGroupsOutput, SdkError<DescribeCacheParameterGroupsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeCacheParameterGroupsOutput, SdkError<DescribeCacheParameterGroupsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeCacheParameterGroupsInputBuilder
impl Clone for DescribeCacheParameterGroupsInputBuilder
source§fn clone(&self) -> DescribeCacheParameterGroupsInputBuilder
fn clone(&self) -> DescribeCacheParameterGroupsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeCacheParameterGroupsInputBuilder
impl Default for DescribeCacheParameterGroupsInputBuilder
source§fn default() -> DescribeCacheParameterGroupsInputBuilder
fn default() -> DescribeCacheParameterGroupsInputBuilder
source§impl PartialEq for DescribeCacheParameterGroupsInputBuilder
impl PartialEq for DescribeCacheParameterGroupsInputBuilder
source§fn eq(&self, other: &DescribeCacheParameterGroupsInputBuilder) -> bool
fn eq(&self, other: &DescribeCacheParameterGroupsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeCacheParameterGroupsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeCacheParameterGroupsInputBuilder
impl RefUnwindSafe for DescribeCacheParameterGroupsInputBuilder
impl Send for DescribeCacheParameterGroupsInputBuilder
impl Sync for DescribeCacheParameterGroupsInputBuilder
impl Unpin for DescribeCacheParameterGroupsInputBuilder
impl UnwindSafe for DescribeCacheParameterGroupsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more