Struct aws_sdk_opensearch::model::domain_status::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DomainStatus
Implementations
sourceimpl Builder
impl Builder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The unique identifier for the specified domain.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The unique identifier for the specified domain.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a domain. See IAM identifiers in the AWS Identity and Access Management User Guide for more information.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a domain. See IAM identifiers in the AWS Identity and Access Management User Guide for more information.
sourcepub fn created(self, input: bool) -> Self
pub fn created(self, input: bool) -> Self
The domain creation status. True
if the creation of a domain is complete. False
if domain creation is still in progress.
sourcepub fn set_created(self, input: Option<bool>) -> Self
pub fn set_created(self, input: Option<bool>) -> Self
The domain creation status. True
if the creation of a domain is complete. False
if domain creation is still in progress.
sourcepub fn deleted(self, input: bool) -> Self
pub fn deleted(self, input: bool) -> Self
The domain deletion status. True
if a delete request has been received for the domain but resource cleanup is still in progress. False
if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.
sourcepub fn set_deleted(self, input: Option<bool>) -> Self
pub fn set_deleted(self, input: Option<bool>) -> Self
The domain deletion status. True
if a delete request has been received for the domain but resource cleanup is still in progress. False
if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The domain endpoint that you use to submit index and search requests.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The domain endpoint that you use to submit index and search requests.
sourcepub fn endpoints(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn endpoints(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to endpoints
.
To override the contents of this collection use set_endpoints
.
Map containing the domain endpoints used to submit index and search requests. Example key, value
: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'
.
sourcepub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self
Map containing the domain endpoints used to submit index and search requests. Example key, value
: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'
.
sourcepub fn processing(self, input: bool) -> Self
pub fn processing(self, input: bool) -> Self
The status of the domain configuration. True
if Amazon OpenSearch Service is processing configuration changes. False
if the configuration is active.
sourcepub fn set_processing(self, input: Option<bool>) -> Self
pub fn set_processing(self, input: Option<bool>) -> Self
The status of the domain configuration. True
if Amazon OpenSearch Service is processing configuration changes. False
if the configuration is active.
sourcepub fn upgrade_processing(self, input: bool) -> Self
pub fn upgrade_processing(self, input: bool) -> Self
The status of a domain version upgrade. True
if Amazon OpenSearch Service is undergoing a version upgrade. False
if the configuration is active.
sourcepub fn set_upgrade_processing(self, input: Option<bool>) -> Self
pub fn set_upgrade_processing(self, input: Option<bool>) -> Self
The status of a domain version upgrade. True
if Amazon OpenSearch Service is undergoing a version upgrade. False
if the configuration is active.
pub fn engine_version(self, input: impl Into<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
sourcepub fn cluster_config(self, input: ClusterConfig) -> Self
pub fn cluster_config(self, input: ClusterConfig) -> Self
The type and number of instances in the domain.
sourcepub fn set_cluster_config(self, input: Option<ClusterConfig>) -> Self
pub fn set_cluster_config(self, input: Option<ClusterConfig>) -> Self
The type and number of instances in the domain.
sourcepub fn ebs_options(self, input: EbsOptions) -> Self
pub fn ebs_options(self, input: EbsOptions) -> Self
The EBSOptions
for the specified domain.
sourcepub fn set_ebs_options(self, input: Option<EbsOptions>) -> Self
pub fn set_ebs_options(self, input: Option<EbsOptions>) -> Self
The EBSOptions
for the specified domain.
sourcepub fn access_policies(self, input: impl Into<String>) -> Self
pub fn access_policies(self, input: impl Into<String>) -> Self
IAM access policy as a JSON-formatted string.
sourcepub fn set_access_policies(self, input: Option<String>) -> Self
pub fn set_access_policies(self, input: Option<String>) -> Self
IAM access policy as a JSON-formatted string.
sourcepub fn snapshot_options(self, input: SnapshotOptions) -> Self
pub fn snapshot_options(self, input: SnapshotOptions) -> Self
The status of the SnapshotOptions
.
sourcepub fn set_snapshot_options(self, input: Option<SnapshotOptions>) -> Self
pub fn set_snapshot_options(self, input: Option<SnapshotOptions>) -> Self
The status of the SnapshotOptions
.
sourcepub fn vpc_options(self, input: VpcDerivedInfo) -> Self
pub fn vpc_options(self, input: VpcDerivedInfo) -> Self
The VPCOptions
for the specified domain. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
sourcepub fn set_vpc_options(self, input: Option<VpcDerivedInfo>) -> Self
pub fn set_vpc_options(self, input: Option<VpcDerivedInfo>) -> Self
The VPCOptions
for the specified domain. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
sourcepub fn cognito_options(self, input: CognitoOptions) -> Self
pub fn cognito_options(self, input: CognitoOptions) -> Self
The CognitoOptions
for the specified domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn set_cognito_options(self, input: Option<CognitoOptions>) -> Self
pub fn set_cognito_options(self, input: Option<CognitoOptions>) -> Self
The CognitoOptions
for the specified domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self
pub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self
The status of the EncryptionAtRestOptions
.
sourcepub fn set_encryption_at_rest_options(
self,
input: Option<EncryptionAtRestOptions>
) -> Self
pub fn set_encryption_at_rest_options(
self,
input: Option<EncryptionAtRestOptions>
) -> Self
The status of the EncryptionAtRestOptions
.
sourcepub fn node_to_node_encryption_options(
self,
input: NodeToNodeEncryptionOptions
) -> Self
pub fn node_to_node_encryption_options(
self,
input: NodeToNodeEncryptionOptions
) -> Self
The status of the NodeToNodeEncryptionOptions
.
sourcepub fn set_node_to_node_encryption_options(
self,
input: Option<NodeToNodeEncryptionOptions>
) -> Self
pub fn set_node_to_node_encryption_options(
self,
input: Option<NodeToNodeEncryptionOptions>
) -> Self
The status of the NodeToNodeEncryptionOptions
.
sourcepub fn advanced_options(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn advanced_options(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to advanced_options
.
To override the contents of this collection use set_advanced_options
.
The status of the AdvancedOptions
.
sourcepub fn set_advanced_options(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_advanced_options(
self,
input: Option<HashMap<String, String>>
) -> Self
The status of the AdvancedOptions
.
sourcepub fn log_publishing_options(self, k: LogType, v: LogPublishingOption) -> Self
pub fn log_publishing_options(self, k: LogType, v: LogPublishingOption) -> Self
Adds a key-value pair to log_publishing_options
.
To override the contents of this collection use set_log_publishing_options
.
Log publishing options for the given domain.
sourcepub fn set_log_publishing_options(
self,
input: Option<HashMap<LogType, LogPublishingOption>>
) -> Self
pub fn set_log_publishing_options(
self,
input: Option<HashMap<LogType, LogPublishingOption>>
) -> Self
Log publishing options for the given domain.
sourcepub fn service_software_options(self, input: ServiceSoftwareOptions) -> Self
pub fn service_software_options(self, input: ServiceSoftwareOptions) -> Self
The current status of the domain's service software.
sourcepub fn set_service_software_options(
self,
input: Option<ServiceSoftwareOptions>
) -> Self
pub fn set_service_software_options(
self,
input: Option<ServiceSoftwareOptions>
) -> Self
The current status of the domain's service software.
sourcepub fn domain_endpoint_options(self, input: DomainEndpointOptions) -> Self
pub fn domain_endpoint_options(self, input: DomainEndpointOptions) -> Self
The current status of the domain's endpoint options.
sourcepub fn set_domain_endpoint_options(
self,
input: Option<DomainEndpointOptions>
) -> Self
pub fn set_domain_endpoint_options(
self,
input: Option<DomainEndpointOptions>
) -> Self
The current status of the domain's endpoint options.
sourcepub fn advanced_security_options(self, input: AdvancedSecurityOptions) -> Self
pub fn advanced_security_options(self, input: AdvancedSecurityOptions) -> Self
The current status of the domain's advanced security options.
sourcepub fn set_advanced_security_options(
self,
input: Option<AdvancedSecurityOptions>
) -> Self
pub fn set_advanced_security_options(
self,
input: Option<AdvancedSecurityOptions>
) -> Self
The current status of the domain's advanced security options.
sourcepub fn auto_tune_options(self, input: AutoTuneOptionsOutput) -> Self
pub fn auto_tune_options(self, input: AutoTuneOptionsOutput) -> Self
The current status of the domain's Auto-Tune options.
sourcepub fn set_auto_tune_options(self, input: Option<AutoTuneOptionsOutput>) -> Self
pub fn set_auto_tune_options(self, input: Option<AutoTuneOptionsOutput>) -> Self
The current status of the domain's Auto-Tune options.
sourcepub fn change_progress_details(self, input: ChangeProgressDetails) -> Self
pub fn change_progress_details(self, input: ChangeProgressDetails) -> Self
Specifies change details of the domain configuration change.
sourcepub fn set_change_progress_details(
self,
input: Option<ChangeProgressDetails>
) -> Self
pub fn set_change_progress_details(
self,
input: Option<ChangeProgressDetails>
) -> Self
Specifies change details of the domain configuration change.
sourcepub fn build(self) -> DomainStatus
pub fn build(self) -> DomainStatus
Consumes the builder and constructs a DomainStatus
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more