Struct aws_sdk_opensearch::types::builders::DryRunResultsBuilder
source · #[non_exhaustive]pub struct DryRunResultsBuilder { /* private fields */ }Expand description
A builder for DryRunResults.
Implementations§
source§impl DryRunResultsBuilder
impl DryRunResultsBuilder
sourcepub fn deployment_type(self, input: impl Into<String>) -> Self
pub fn deployment_type(self, input: impl Into<String>) -> Self
Specifies the way in which OpenSearch Service will apply an update. Possible values are:
-
Blue/Green - The update requires a blue/green deployment.
-
DynamicUpdate - No blue/green deployment required
-
Undetermined - The domain is in the middle of an update and can't predict the deployment type. Try again after the update is complete.
-
None - The request doesn't include any configuration changes.
sourcepub fn set_deployment_type(self, input: Option<String>) -> Self
pub fn set_deployment_type(self, input: Option<String>) -> Self
Specifies the way in which OpenSearch Service will apply an update. Possible values are:
-
Blue/Green - The update requires a blue/green deployment.
-
DynamicUpdate - No blue/green deployment required
-
Undetermined - The domain is in the middle of an update and can't predict the deployment type. Try again after the update is complete.
-
None - The request doesn't include any configuration changes.
sourcepub fn get_deployment_type(&self) -> &Option<String>
pub fn get_deployment_type(&self) -> &Option<String>
Specifies the way in which OpenSearch Service will apply an update. Possible values are:
-
Blue/Green - The update requires a blue/green deployment.
-
DynamicUpdate - No blue/green deployment required
-
Undetermined - The domain is in the middle of an update and can't predict the deployment type. Try again after the update is complete.
-
None - The request doesn't include any configuration changes.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message corresponding to the deployment type.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message corresponding to the deployment type.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A message corresponding to the deployment type.
sourcepub fn build(self) -> DryRunResults
pub fn build(self) -> DryRunResults
Consumes the builder and constructs a DryRunResults.
Trait Implementations§
source§impl Clone for DryRunResultsBuilder
impl Clone for DryRunResultsBuilder
source§fn clone(&self) -> DryRunResultsBuilder
fn clone(&self) -> DryRunResultsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DryRunResultsBuilder
impl Debug for DryRunResultsBuilder
source§impl Default for DryRunResultsBuilder
impl Default for DryRunResultsBuilder
source§fn default() -> DryRunResultsBuilder
fn default() -> DryRunResultsBuilder
source§impl PartialEq for DryRunResultsBuilder
impl PartialEq for DryRunResultsBuilder
impl StructuralPartialEq for DryRunResultsBuilder
Auto Trait Implementations§
impl Freeze for DryRunResultsBuilder
impl RefUnwindSafe for DryRunResultsBuilder
impl Send for DryRunResultsBuilder
impl Sync for DryRunResultsBuilder
impl Unpin for DryRunResultsBuilder
impl UnwindSafe for DryRunResultsBuilder
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