Struct aws_sdk_memorydb::operation::describe_reserved_nodes::builders::DescribeReservedNodesInputBuilder
source · #[non_exhaustive]pub struct DescribeReservedNodesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeReservedNodesInput
.
Implementations§
source§impl DescribeReservedNodesInputBuilder
impl DescribeReservedNodesInputBuilder
sourcepub fn reservation_id(self, input: impl Into<String>) -> Self
pub fn reservation_id(self, input: impl Into<String>) -> Self
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
sourcepub fn set_reservation_id(self, input: Option<String>) -> Self
pub fn set_reservation_id(self, input: Option<String>) -> Self
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
sourcepub fn get_reservation_id(&self) -> &Option<String>
pub fn get_reservation_id(&self) -> &Option<String>
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
sourcepub fn reserved_nodes_offering_id(self, input: impl Into<String>) -> Self
pub fn reserved_nodes_offering_id(self, input: impl Into<String>) -> Self
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
sourcepub fn set_reserved_nodes_offering_id(self, input: Option<String>) -> Self
pub fn set_reserved_nodes_offering_id(self, input: Option<String>) -> Self
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
sourcepub fn get_reserved_nodes_offering_id(&self) -> &Option<String>
pub fn get_reserved_nodes_offering_id(&self) -> &Option<String>
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
sourcepub fn node_type(self, input: impl Into<String>) -> Self
pub fn node_type(self, input: impl Into<String>) -> Self
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
sourcepub fn get_node_type(&self) -> &Option<String>
pub fn get_node_type(&self) -> &Option<String>
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
sourcepub fn duration(self, input: impl Into<String>) -> Self
pub fn duration(self, input: impl Into<String>) -> Self
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
sourcepub fn set_duration(self, input: Option<String>) -> Self
pub fn set_duration(self, input: Option<String>) -> Self
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
sourcepub fn get_duration(&self) -> &Option<String>
pub fn get_duration(&self) -> &Option<String>
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
sourcepub fn offering_type(self, input: impl Into<String>) -> Self
pub fn offering_type(self, input: impl Into<String>) -> Self
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
sourcepub fn set_offering_type(self, input: Option<String>) -> Self
pub fn set_offering_type(self, input: Option<String>) -> Self
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
sourcepub fn get_offering_type(&self) -> &Option<String>
pub fn get_offering_type(&self) -> &Option<String>
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
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 MaxRecords value, a marker 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 MaxRecords value, a marker 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 MaxRecords value, a marker 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 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_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(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_next_token(&self) -> &Option<String>
pub fn get_next_token(&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<DescribeReservedNodesInput, BuildError>
pub fn build(self) -> Result<DescribeReservedNodesInput, BuildError>
Consumes the builder and constructs a DescribeReservedNodesInput
.
source§impl DescribeReservedNodesInputBuilder
impl DescribeReservedNodesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeReservedNodesOutput, SdkError<DescribeReservedNodesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeReservedNodesOutput, SdkError<DescribeReservedNodesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeReservedNodesInputBuilder
impl Clone for DescribeReservedNodesInputBuilder
source§fn clone(&self) -> DescribeReservedNodesInputBuilder
fn clone(&self) -> DescribeReservedNodesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeReservedNodesInputBuilder
impl Default for DescribeReservedNodesInputBuilder
source§fn default() -> DescribeReservedNodesInputBuilder
fn default() -> DescribeReservedNodesInputBuilder
source§impl PartialEq<DescribeReservedNodesInputBuilder> for DescribeReservedNodesInputBuilder
impl PartialEq<DescribeReservedNodesInputBuilder> for DescribeReservedNodesInputBuilder
source§fn eq(&self, other: &DescribeReservedNodesInputBuilder) -> bool
fn eq(&self, other: &DescribeReservedNodesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.