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

A builder for DomainConfig.

Implementations§

source§

impl DomainConfigBuilder

source

pub fn engine_version(self, input: VersionStatus) -> Self

The OpenSearch or Elasticsearch version that the domain is running.

source

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

The OpenSearch or Elasticsearch version that the domain is running.

source

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

The OpenSearch or Elasticsearch version that the domain is running.

source

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

Container for the cluster configuration of a the domain.

source

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

Container for the cluster configuration of a the domain.

source

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

Container for the cluster configuration of a the domain.

source

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

Container for EBS options configured for the domain.

source

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

Container for EBS options configured for the domain.

source

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

Container for EBS options configured for the domain.

source

pub fn access_policies(self, input: AccessPoliciesStatus) -> Self

Specifies the access policies for the domain.

source

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

Specifies the access policies for the domain.

source

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

Specifies the access policies for the domain.

source

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

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

source

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

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

source

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

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

source

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

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

source

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

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

source

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

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

source

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

The current VPC options for the domain and the status of any updates to their configuration.

source

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

The current VPC options for the domain and the status of any updates to their configuration.

source

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

The current VPC options for the domain and the status of any updates to their configuration.

source

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

Container for Amazon Cognito options for the domain.

source

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

Container for Amazon Cognito options for the domain.

source

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

Container for Amazon Cognito options for the domain.

source

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

Key-value pairs to enable encryption at rest.

source

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

Key-value pairs to enable encryption at rest.

source

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

Key-value pairs to enable encryption at rest.

source

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

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

source

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

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

source

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

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

source

pub fn advanced_options(self, input: AdvancedOptionsStatus) -> Self

Key-value pairs to specify advanced configuration options. For more information, see Advanced options.

source

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

Key-value pairs to specify advanced configuration options. For more information, see Advanced options.

source

pub fn get_advanced_options(&self) -> &Option<AdvancedOptionsStatus>

Key-value pairs to specify advanced configuration options. For more information, see Advanced options.

source

pub fn log_publishing_options(self, input: LogPublishingOptionsStatus) -> Self

Key-value pairs to configure log publishing.

source

pub fn set_log_publishing_options( self, input: Option<LogPublishingOptionsStatus> ) -> Self

Key-value pairs to configure log publishing.

source

pub fn get_log_publishing_options(&self) -> &Option<LogPublishingOptionsStatus>

Key-value pairs to configure log publishing.

source

pub fn domain_endpoint_options(self, input: DomainEndpointOptionsStatus) -> 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<DomainEndpointOptionsStatus> ) -> 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<DomainEndpointOptionsStatus>

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

source

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

Container for fine-grained access control settings for the domain.

source

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

Container for fine-grained access control settings for the domain.

source

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

Container for fine-grained access control settings for the domain.

source

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

Container for Auto-Tune settings for the domain.

source

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

Container for Auto-Tune settings for the domain.

source

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

Container for Auto-Tune settings for the domain.

source

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

Container for information about the progress of an existing configuration change.

source

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

Container for information about the progress of an existing configuration change.

source

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

Container for information about the progress of an existing configuration change.

source

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

Container for off-peak window options for the domain.

source

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

Container for off-peak window options for the domain.

source

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

Container for off-peak window options for the domain.

source

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

Software update options for the domain.

source

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

Software update options for the domain.

source

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

Software update options for the domain.

source

pub fn build(self) -> DomainConfig

Consumes the builder and constructs a DomainConfig.

Trait Implementations§

source§

impl Clone for DomainConfigBuilder

source§

fn clone(&self) -> DomainConfigBuilder

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 DomainConfigBuilder

source§

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

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

impl Default for DomainConfigBuilder

source§

fn default() -> DomainConfigBuilder

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

impl PartialEq for DomainConfigBuilder

source§

fn eq(&self, other: &DomainConfigBuilder) -> 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 DomainConfigBuilder

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