Struct aws_sdk_redshift::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 reserved_node_id(self, input: impl Into<String>) -> Self
pub fn reserved_node_id(self, input: impl Into<String>) -> Self
Identifier for the node reservation.
sourcepub fn set_reserved_node_id(self, input: Option<String>) -> Self
pub fn set_reserved_node_id(self, input: Option<String>) -> Self
Identifier for the node reservation.
sourcepub fn get_reserved_node_id(&self) -> &Option<String>
pub fn get_reserved_node_id(&self) -> &Option<String>
Identifier for the node reservation.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords
value, a value is returned in a marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
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 parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
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 for DescribeReservedNodesInputBuilder
impl PartialEq 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 ==
.