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
source§fn eq(&self, other: &DryRunResultsBuilder) -> bool
fn eq(&self, other: &DryRunResultsBuilder) -> bool
self and other values to be equal, and is used
by ==.