Struct aws_sdk_cloudsearch::types::builders::OptionStatusBuilder
source · #[non_exhaustive]pub struct OptionStatusBuilder { /* private fields */ }Expand description
A builder for OptionStatus.
Implementations§
source§impl OptionStatusBuilder
impl OptionStatusBuilder
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
A timestamp for when this option was created.
This field is required.sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
A timestamp for when this option was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
A timestamp for when this option was created.
sourcepub fn update_date(self, input: DateTime) -> Self
pub fn update_date(self, input: DateTime) -> Self
A timestamp for when this option was last updated.
This field is required.sourcepub fn set_update_date(self, input: Option<DateTime>) -> Self
pub fn set_update_date(self, input: Option<DateTime>) -> Self
A timestamp for when this option was last updated.
sourcepub fn get_update_date(&self) -> &Option<DateTime>
pub fn get_update_date(&self) -> &Option<DateTime>
A timestamp for when this option was last updated.
sourcepub fn update_version(self, input: i32) -> Self
pub fn update_version(self, input: i32) -> Self
A unique integer that indicates when this option was last updated.
sourcepub fn set_update_version(self, input: Option<i32>) -> Self
pub fn set_update_version(self, input: Option<i32>) -> Self
A unique integer that indicates when this option was last updated.
sourcepub fn get_update_version(&self) -> &Option<i32>
pub fn get_update_version(&self) -> &Option<i32>
A unique integer that indicates when this option was last updated.
sourcepub fn state(self, input: OptionState) -> Self
pub fn state(self, input: OptionState) -> Self
The state of processing a change to an option. Possible values:
RequiresIndexDocuments: the option's latest value will not be deployed untilIndexDocumentshas been called and indexing is complete.Processing: the option's latest value is in the process of being activated.Active: the option's latest value is completely deployed.FailedToValidate: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents.
sourcepub fn set_state(self, input: Option<OptionState>) -> Self
pub fn set_state(self, input: Option<OptionState>) -> Self
The state of processing a change to an option. Possible values:
RequiresIndexDocuments: the option's latest value will not be deployed untilIndexDocumentshas been called and indexing is complete.Processing: the option's latest value is in the process of being activated.Active: the option's latest value is completely deployed.FailedToValidate: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents.
sourcepub fn get_state(&self) -> &Option<OptionState>
pub fn get_state(&self) -> &Option<OptionState>
The state of processing a change to an option. Possible values:
RequiresIndexDocuments: the option's latest value will not be deployed untilIndexDocumentshas been called and indexing is complete.Processing: the option's latest value is in the process of being activated.Active: the option's latest value is completely deployed.FailedToValidate: the option value is not compatible with the domain's data and cannot be used to index the data. You must either modify the option value or update or remove the incompatible documents.
sourcepub fn pending_deletion(self, input: bool) -> Self
pub fn pending_deletion(self, input: bool) -> Self
Indicates that the option will be deleted once processing is complete.
sourcepub fn set_pending_deletion(self, input: Option<bool>) -> Self
pub fn set_pending_deletion(self, input: Option<bool>) -> Self
Indicates that the option will be deleted once processing is complete.
sourcepub fn get_pending_deletion(&self) -> &Option<bool>
pub fn get_pending_deletion(&self) -> &Option<bool>
Indicates that the option will be deleted once processing is complete.
sourcepub fn build(self) -> Result<OptionStatus, BuildError>
pub fn build(self) -> Result<OptionStatus, BuildError>
Consumes the builder and constructs a OptionStatus.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OptionStatusBuilder
impl Clone for OptionStatusBuilder
source§fn clone(&self) -> OptionStatusBuilder
fn clone(&self) -> OptionStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OptionStatusBuilder
impl Debug for OptionStatusBuilder
source§impl Default for OptionStatusBuilder
impl Default for OptionStatusBuilder
source§fn default() -> OptionStatusBuilder
fn default() -> OptionStatusBuilder
source§impl PartialEq for OptionStatusBuilder
impl PartialEq for OptionStatusBuilder
source§fn eq(&self, other: &OptionStatusBuilder) -> bool
fn eq(&self, other: &OptionStatusBuilder) -> bool
self and other values to be equal, and is used
by ==.