Struct aws_sdk_elasticsearch::operation::get_upgrade_history::builders::GetUpgradeHistoryInputBuilder
source · #[non_exhaustive]pub struct GetUpgradeHistoryInputBuilder { /* private fields */ }
Expand description
A builder for GetUpgradeHistoryInput
.
Implementations§
source§impl GetUpgradeHistoryInputBuilder
impl GetUpgradeHistoryInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
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.
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.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Set this value to limit the number of results returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
sourcepub fn build(self) -> Result<GetUpgradeHistoryInput, BuildError>
pub fn build(self) -> Result<GetUpgradeHistoryInput, BuildError>
Consumes the builder and constructs a GetUpgradeHistoryInput
.
source§impl GetUpgradeHistoryInputBuilder
impl GetUpgradeHistoryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetUpgradeHistoryOutput, SdkError<GetUpgradeHistoryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetUpgradeHistoryOutput, SdkError<GetUpgradeHistoryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetUpgradeHistoryInputBuilder
impl Clone for GetUpgradeHistoryInputBuilder
source§fn clone(&self) -> GetUpgradeHistoryInputBuilder
fn clone(&self) -> GetUpgradeHistoryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetUpgradeHistoryInputBuilder
impl Default for GetUpgradeHistoryInputBuilder
source§fn default() -> GetUpgradeHistoryInputBuilder
fn default() -> GetUpgradeHistoryInputBuilder
source§impl PartialEq for GetUpgradeHistoryInputBuilder
impl PartialEq for GetUpgradeHistoryInputBuilder
source§fn eq(&self, other: &GetUpgradeHistoryInputBuilder) -> bool
fn eq(&self, other: &GetUpgradeHistoryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.