Struct aws_sdk_securityhub::types::builders::AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
source · #[non_exhaustive]pub struct AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails
.
Implementations§
source§impl AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
impl AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
sourcepub fn automated_update_date(self, input: impl Into<String>) -> Self
pub fn automated_update_date(self, input: impl Into<String>) -> Self
The epoch time when the deployment window closes for required updates. After this time, OpenSearch Service schedules the software upgrade automatically.
sourcepub fn set_automated_update_date(self, input: Option<String>) -> Self
pub fn set_automated_update_date(self, input: Option<String>) -> Self
The epoch time when the deployment window closes for required updates. After this time, OpenSearch Service schedules the software upgrade automatically.
sourcepub fn get_automated_update_date(&self) -> &Option<String>
pub fn get_automated_update_date(&self) -> &Option<String>
The epoch time when the deployment window closes for required updates. After this time, OpenSearch Service schedules the software upgrade automatically.
sourcepub fn cancellable(self, input: bool) -> Self
pub fn cancellable(self, input: bool) -> Self
Whether a request to update the domain can be canceled.
sourcepub fn set_cancellable(self, input: Option<bool>) -> Self
pub fn set_cancellable(self, input: Option<bool>) -> Self
Whether a request to update the domain can be canceled.
sourcepub fn get_cancellable(&self) -> &Option<bool>
pub fn get_cancellable(&self) -> &Option<bool>
Whether a request to update the domain can be canceled.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The version of the service software that is currently installed on the domain.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The version of the service software that is currently installed on the domain.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The version of the service software that is currently installed on the domain.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A more detailed description of the service software status.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A more detailed description of the service software status.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A more detailed description of the service software status.
sourcepub fn new_version(self, input: impl Into<String>) -> Self
pub fn new_version(self, input: impl Into<String>) -> Self
The most recent version of the service software.
sourcepub fn set_new_version(self, input: Option<String>) -> Self
pub fn set_new_version(self, input: Option<String>) -> Self
The most recent version of the service software.
sourcepub fn get_new_version(&self) -> &Option<String>
pub fn get_new_version(&self) -> &Option<String>
The most recent version of the service software.
sourcepub fn update_available(self, input: bool) -> Self
pub fn update_available(self, input: bool) -> Self
Whether a service software update is available for the domain.
sourcepub fn set_update_available(self, input: Option<bool>) -> Self
pub fn set_update_available(self, input: Option<bool>) -> Self
Whether a service software update is available for the domain.
sourcepub fn get_update_available(&self) -> &Option<bool>
pub fn get_update_available(&self) -> &Option<bool>
Whether a service software update is available for the domain.
sourcepub fn update_status(self, input: impl Into<String>) -> Self
pub fn update_status(self, input: impl Into<String>) -> Self
The status of the service software update. Valid values are as follows:
-
COMPLETED
-
ELIGIBLE
-
IN_PROGRESS
-
NOT_ELIGIBLE
-
PENDING_UPDATE
sourcepub fn set_update_status(self, input: Option<String>) -> Self
pub fn set_update_status(self, input: Option<String>) -> Self
The status of the service software update. Valid values are as follows:
-
COMPLETED
-
ELIGIBLE
-
IN_PROGRESS
-
NOT_ELIGIBLE
-
PENDING_UPDATE
sourcepub fn get_update_status(&self) -> &Option<String>
pub fn get_update_status(&self) -> &Option<String>
The status of the service software update. Valid values are as follows:
-
COMPLETED
-
ELIGIBLE
-
IN_PROGRESS
-
NOT_ELIGIBLE
-
PENDING_UPDATE
sourcepub fn optional_deployment(self, input: bool) -> Self
pub fn optional_deployment(self, input: bool) -> Self
Whether the service software update is optional.
sourcepub fn set_optional_deployment(self, input: Option<bool>) -> Self
pub fn set_optional_deployment(self, input: Option<bool>) -> Self
Whether the service software update is optional.
sourcepub fn get_optional_deployment(&self) -> &Option<bool>
pub fn get_optional_deployment(&self) -> &Option<bool>
Whether the service software update is optional.
sourcepub fn build(self) -> AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails
pub fn build(self) -> AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails
Consumes the builder and constructs a AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails
.
Trait Implementations§
source§impl Clone for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
impl Clone for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
source§fn clone(
&self
) -> AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
fn clone( &self ) -> AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
impl Default for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
source§fn default() -> AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
fn default() -> AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
source§impl PartialEq for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
impl PartialEq for AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
source§fn eq(
&self,
other: &AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.