#[non_exhaustive]
pub struct DomainStatusBuilder { /* private fields */ }
Expand description

A builder for DomainStatus.

Implementations§

source§

impl DomainStatusBuilder

source

pub fn domain_id(self, input: impl Into<String>) -> Self

Unique identifier for the domain.

This field is required.
source

pub fn set_domain_id(self, input: Option<String>) -> Self

Unique identifier for the domain.

source

pub fn get_domain_id(&self) -> &Option<String>

Unique identifier for the domain.

source

pub fn domain_name(self, input: impl Into<String>) -> Self

Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.

This field is required.
source

pub fn set_domain_name(self, input: Option<String>) -> Self

Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.

source

pub fn get_domain_name(&self) -> &Option<String>

Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.

source

pub fn arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.

This field is required.
source

pub fn set_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.

source

pub fn get_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.

source

pub fn created(self, input: bool) -> Self

Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.

source

pub fn set_created(self, input: Option<bool>) -> Self

Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.

source

pub fn get_created(&self) -> &Option<bool>

Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.

source

pub fn deleted(self, input: bool) -> Self

Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.

source

pub fn set_deleted(self, input: Option<bool>) -> Self

Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.

source

pub fn get_deleted(&self) -> &Option<bool>

Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.

source

pub fn endpoint(self, input: impl Into<String>) -> Self

Domain-specific endpoint used to submit index, search, and data upload requests to the domain.

source

pub fn set_endpoint(self, input: Option<String>) -> Self

Domain-specific endpoint used to submit index, search, and data upload requests to the domain.

source

pub fn get_endpoint(&self) -> &Option<String>

Domain-specific endpoint used to submit index, search, and data upload requests to the domain.

source

pub fn endpoint_v2(self, input: impl Into<String>) -> Self

The domain endpoint to which index and search requests are submitted. For example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com.

source

pub fn set_endpoint_v2(self, input: Option<String>) -> Self

The domain endpoint to which index and search requests are submitted. For example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com.

source

pub fn get_endpoint_v2(&self) -> &Option<String>

The domain endpoint to which index and search requests are submitted. For example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com.

source

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.

The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

source

pub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self

The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

source

pub fn get_endpoints(&self) -> &Option<HashMap<String, String>>

The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

source

pub fn processing(self, input: bool) -> Self

The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.

source

pub fn set_processing(self, input: Option<bool>) -> Self

The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.

source

pub fn get_processing(&self) -> &Option<bool>

The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.

source

pub fn upgrade_processing(self, input: bool) -> Self

The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.

source

pub fn set_upgrade_processing(self, input: Option<bool>) -> Self

The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.

source

pub fn get_upgrade_processing(&self) -> &Option<bool>

The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.

source

pub fn engine_version(self, input: impl Into<String>) -> Self

Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y or OpenSearch_X.Y.

source

pub fn set_engine_version(self, input: Option<String>) -> Self

Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y or OpenSearch_X.Y.

source

pub fn get_engine_version(&self) -> &Option<String>

Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y or OpenSearch_X.Y.

source

pub fn cluster_config(self, input: ClusterConfig) -> Self

Container for the cluster configuration of the domain.

This field is required.
source

pub fn set_cluster_config(self, input: Option<ClusterConfig>) -> Self

Container for the cluster configuration of the domain.

source

pub fn get_cluster_config(&self) -> &Option<ClusterConfig>

Container for the cluster configuration of the domain.

source

pub fn ebs_options(self, input: EbsOptions) -> Self

Container for EBS-based storage settings for the domain.

source

pub fn set_ebs_options(self, input: Option<EbsOptions>) -> Self

Container for EBS-based storage settings for the domain.

source

pub fn get_ebs_options(&self) -> &Option<EbsOptions>

Container for EBS-based storage settings for the domain.

source

pub fn access_policies(self, input: impl Into<String>) -> Self

Identity and Access Management (IAM) policy document specifying the access policies for the domain.

source

pub fn set_access_policies(self, input: Option<String>) -> Self

Identity and Access Management (IAM) policy document specifying the access policies for the domain.

source

pub fn get_access_policies(&self) -> &Option<String>

Identity and Access Management (IAM) policy document specifying the access policies for the domain.

source

pub fn ip_address_type(self, input: IpAddressType) -> Self

The type of IP addresses supported by the endpoint for the domain.

source

pub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self

The type of IP addresses supported by the endpoint for the domain.

source

pub fn get_ip_address_type(&self) -> &Option<IpAddressType>

The type of IP addresses supported by the endpoint for the domain.

source

pub fn snapshot_options(self, input: SnapshotOptions) -> Self

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

source

pub fn set_snapshot_options(self, input: Option<SnapshotOptions>) -> Self

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

source

pub fn get_snapshot_options(&self) -> &Option<SnapshotOptions>

DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.

source

pub fn vpc_options(self, input: VpcDerivedInfo) -> Self

The VPC configuration for the domain.

source

pub fn set_vpc_options(self, input: Option<VpcDerivedInfo>) -> Self

The VPC configuration for the domain.

source

pub fn get_vpc_options(&self) -> &Option<VpcDerivedInfo>

The VPC configuration for the domain.

source

pub fn cognito_options(self, input: CognitoOptions) -> Self

Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.

source

pub fn set_cognito_options(self, input: Option<CognitoOptions>) -> Self

Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.

source

pub fn get_cognito_options(&self) -> &Option<CognitoOptions>

Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.

source

pub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self

Encryption at rest settings for the domain.

source

pub fn set_encryption_at_rest_options( self, input: Option<EncryptionAtRestOptions> ) -> Self

Encryption at rest settings for the domain.

source

pub fn get_encryption_at_rest_options(&self) -> &Option<EncryptionAtRestOptions>

Encryption at rest settings for the domain.

source

pub fn node_to_node_encryption_options( self, input: NodeToNodeEncryptionOptions ) -> Self

Whether node-to-node encryption is enabled or disabled.

source

pub fn set_node_to_node_encryption_options( self, input: Option<NodeToNodeEncryptionOptions> ) -> Self

Whether node-to-node encryption is enabled or disabled.

source

pub fn get_node_to_node_encryption_options( &self ) -> &Option<NodeToNodeEncryptionOptions>

Whether node-to-node encryption is enabled or disabled.

source

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.

Key-value pairs that specify advanced configuration options.

source

pub fn set_advanced_options( self, input: Option<HashMap<String, String>> ) -> Self

Key-value pairs that specify advanced configuration options.

source

pub fn get_advanced_options(&self) -> &Option<HashMap<String, String>>

Key-value pairs that specify advanced configuration options.

source

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 domain.

source

pub fn set_log_publishing_options( self, input: Option<HashMap<LogType, LogPublishingOption>> ) -> Self

Log publishing options for the domain.

source

pub fn get_log_publishing_options( &self ) -> &Option<HashMap<LogType, LogPublishingOption>>

Log publishing options for the domain.

source

pub fn service_software_options(self, input: ServiceSoftwareOptions) -> Self

The current status of the domain's service software.

source

pub fn set_service_software_options( self, input: Option<ServiceSoftwareOptions> ) -> Self

The current status of the domain's service software.

source

pub fn get_service_software_options(&self) -> &Option<ServiceSoftwareOptions>

The current status of the domain's service software.

source

pub fn domain_endpoint_options(self, input: DomainEndpointOptions) -> Self

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

source

pub fn set_domain_endpoint_options( self, input: Option<DomainEndpointOptions> ) -> Self

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

source

pub fn get_domain_endpoint_options(&self) -> &Option<DomainEndpointOptions>

Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.

source

pub fn advanced_security_options(self, input: AdvancedSecurityOptions) -> Self

Settings for fine-grained access control.

source

pub fn set_advanced_security_options( self, input: Option<AdvancedSecurityOptions> ) -> Self

Settings for fine-grained access control.

source

pub fn get_advanced_security_options(&self) -> &Option<AdvancedSecurityOptions>

Settings for fine-grained access control.

source

pub fn auto_tune_options(self, input: AutoTuneOptionsOutput) -> Self

Auto-Tune settings for the domain.

source

pub fn set_auto_tune_options(self, input: Option<AutoTuneOptionsOutput>) -> Self

Auto-Tune settings for the domain.

source

pub fn get_auto_tune_options(&self) -> &Option<AutoTuneOptionsOutput>

Auto-Tune settings for the domain.

source

pub fn change_progress_details(self, input: ChangeProgressDetails) -> Self

Information about a configuration change happening on the domain.

source

pub fn set_change_progress_details( self, input: Option<ChangeProgressDetails> ) -> Self

Information about a configuration change happening on the domain.

source

pub fn get_change_progress_details(&self) -> &Option<ChangeProgressDetails>

Information about a configuration change happening on the domain.

source

pub fn off_peak_window_options(self, input: OffPeakWindowOptions) -> Self

Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.

source

pub fn set_off_peak_window_options( self, input: Option<OffPeakWindowOptions> ) -> Self

Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.

source

pub fn get_off_peak_window_options(&self) -> &Option<OffPeakWindowOptions>

Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.

source

pub fn software_update_options(self, input: SoftwareUpdateOptions) -> Self

Service software update options for the domain.

source

pub fn set_software_update_options( self, input: Option<SoftwareUpdateOptions> ) -> Self

Service software update options for the domain.

source

pub fn get_software_update_options(&self) -> &Option<SoftwareUpdateOptions>

Service software update options for the domain.

source

pub fn build(self) -> Result<DomainStatus, BuildError>

Consumes the builder and constructs a DomainStatus. This method will fail if any of the following fields are not set:

Trait Implementations§

source§

impl Clone for DomainStatusBuilder

source§

fn clone(&self) -> DomainStatusBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DomainStatusBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DomainStatusBuilder

source§

fn default() -> DomainStatusBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for DomainStatusBuilder

source§

fn eq(&self, other: &DomainStatusBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DomainStatusBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more