Struct aws_sdk_elasticsearch::input::describe_reserved_elasticsearch_instances_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeReservedElasticsearchInstancesInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn reserved_elasticsearch_instance_id(self, input: impl Into<String>) -> Self
pub fn reserved_elasticsearch_instance_id(self, input: impl Into<String>) -> Self
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.
sourcepub fn set_reserved_elasticsearch_instance_id(
self,
input: Option<String>
) -> Self
pub fn set_reserved_elasticsearch_instance_id(
self,
input: Option<String>
) -> Self
The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Set this value to limit the number of results returned. If not specified, defaults to 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Set this value to limit the number of results returned. If not specified, defaults to 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.
sourcepub fn build(
self
) -> Result<DescribeReservedElasticsearchInstancesInput, BuildError>
pub fn build(
self
) -> Result<DescribeReservedElasticsearchInstancesInput, BuildError>
Consumes the builder and constructs a DescribeReservedElasticsearchInstancesInput
.