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.
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 update_date(self, input: DateTime) -> Self
pub fn update_date(self, input: DateTime) -> Self
A timestamp for when this option was last updated.
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 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 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 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 build(self) -> OptionStatus
pub fn build(self) -> OptionStatus
Consumes the builder and constructs a OptionStatus.
Trait Implementations§
source§impl Clone for OptionStatusBuilder
impl Clone for OptionStatusBuilder
source§fn clone(&self) -> OptionStatusBuilder
fn clone(&self) -> OptionStatusBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<OptionStatusBuilder> for OptionStatusBuilder
impl PartialEq<OptionStatusBuilder> for OptionStatusBuilder
source§fn eq(&self, other: &OptionStatusBuilder) -> bool
fn eq(&self, other: &OptionStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.