#[non_exhaustive]pub struct UpgradeDomainInputBuilder { /* private fields */ }
Expand description
A builder for UpgradeDomainInput
.
Implementations§
source§impl UpgradeDomainInputBuilder
impl UpgradeDomainInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Name of the OpenSearch Service domain that you want to upgrade.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Name of the OpenSearch Service domain that you want to upgrade.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
Name of the OpenSearch Service domain that you want to upgrade.
sourcepub fn target_version(self, input: impl Into<String>) -> Self
pub fn target_version(self, input: impl Into<String>) -> Self
OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.
This field is required.sourcepub fn set_target_version(self, input: Option<String>) -> Self
pub fn set_target_version(self, input: Option<String>) -> Self
OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.
sourcepub fn get_target_version(&self) -> &Option<String>
pub fn get_target_version(&self) -> &Option<String>
OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.
sourcepub fn perform_check_only(self, input: bool) -> Self
pub fn perform_check_only(self, input: bool) -> Self
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
sourcepub fn set_perform_check_only(self, input: Option<bool>) -> Self
pub fn set_perform_check_only(self, input: Option<bool>) -> Self
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
sourcepub fn get_perform_check_only(&self) -> &Option<bool>
pub fn get_perform_check_only(&self) -> &Option<bool>
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
sourcepub fn advanced_options(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn advanced_options( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to advanced_options
.
To override the contents of this collection use set_advanced_options
.
Only supports the override_main_response_version
parameter and not other advanced options. You can only include this option when upgrading to an OpenSearch version. Specifies whether the domain reports its version as 7.10 so that it continues to work with Elasticsearch OSS clients and plugins.
sourcepub fn set_advanced_options(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_advanced_options( self, input: Option<HashMap<String, String>>, ) -> Self
Only supports the override_main_response_version
parameter and not other advanced options. You can only include this option when upgrading to an OpenSearch version. Specifies whether the domain reports its version as 7.10 so that it continues to work with Elasticsearch OSS clients and plugins.
sourcepub fn get_advanced_options(&self) -> &Option<HashMap<String, String>>
pub fn get_advanced_options(&self) -> &Option<HashMap<String, String>>
Only supports the override_main_response_version
parameter and not other advanced options. You can only include this option when upgrading to an OpenSearch version. Specifies whether the domain reports its version as 7.10 so that it continues to work with Elasticsearch OSS clients and plugins.
sourcepub fn build(self) -> Result<UpgradeDomainInput, BuildError>
pub fn build(self) -> Result<UpgradeDomainInput, BuildError>
Consumes the builder and constructs a UpgradeDomainInput
.
source§impl UpgradeDomainInputBuilder
impl UpgradeDomainInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpgradeDomainOutput, SdkError<UpgradeDomainError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpgradeDomainOutput, SdkError<UpgradeDomainError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpgradeDomainInputBuilder
impl Clone for UpgradeDomainInputBuilder
source§fn clone(&self) -> UpgradeDomainInputBuilder
fn clone(&self) -> UpgradeDomainInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpgradeDomainInputBuilder
impl Debug for UpgradeDomainInputBuilder
source§impl Default for UpgradeDomainInputBuilder
impl Default for UpgradeDomainInputBuilder
source§fn default() -> UpgradeDomainInputBuilder
fn default() -> UpgradeDomainInputBuilder
source§impl PartialEq for UpgradeDomainInputBuilder
impl PartialEq for UpgradeDomainInputBuilder
source§fn eq(&self, other: &UpgradeDomainInputBuilder) -> bool
fn eq(&self, other: &UpgradeDomainInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpgradeDomainInputBuilder
Auto Trait Implementations§
impl Freeze for UpgradeDomainInputBuilder
impl RefUnwindSafe for UpgradeDomainInputBuilder
impl Send for UpgradeDomainInputBuilder
impl Sync for UpgradeDomainInputBuilder
impl Unpin for UpgradeDomainInputBuilder
impl UnwindSafe for UpgradeDomainInputBuilder
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