pub struct Builder { /* private fields */ }
Expand description
A builder for AwsElasticsearchDomainDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn access_policies(self, input: impl Into<String>) -> Self
pub fn access_policies(self, input: impl Into<String>) -> Self
IAM policy document specifying the access policies for the new Elasticsearch domain.
sourcepub fn set_access_policies(self, input: Option<String>) -> Self
pub fn set_access_policies(self, input: Option<String>) -> Self
IAM policy document specifying the access policies for the new Elasticsearch domain.
sourcepub fn domain_endpoint_options(
self,
input: AwsElasticsearchDomainDomainEndpointOptions
) -> Self
pub fn domain_endpoint_options(
self,
input: AwsElasticsearchDomainDomainEndpointOptions
) -> Self
Additional options for the domain endpoint.
sourcepub fn set_domain_endpoint_options(
self,
input: Option<AwsElasticsearchDomainDomainEndpointOptions>
) -> Self
pub fn set_domain_endpoint_options(
self,
input: Option<AwsElasticsearchDomainDomainEndpointOptions>
) -> Self
Additional options for the domain endpoint.
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
Unique identifier for an Elasticsearch domain.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
Unique identifier for an Elasticsearch domain.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Name of an Elasticsearch domain.
Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
Domain names must start with a lowercase letter and must be between 3 and 28 characters.
Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Name of an Elasticsearch domain.
Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
Domain names must start with a lowercase letter and must be between 3 and 28 characters.
Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
The endpoint is a service URL.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
The endpoint is a service URL.
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
.
The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
sourcepub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self
The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
sourcepub fn elasticsearch_version(self, input: impl Into<String>) -> Self
pub fn elasticsearch_version(self, input: impl Into<String>) -> Self
OpenSearch version.
sourcepub fn set_elasticsearch_version(self, input: Option<String>) -> Self
pub fn set_elasticsearch_version(self, input: Option<String>) -> Self
OpenSearch version.
sourcepub fn elasticsearch_cluster_config(
self,
input: AwsElasticsearchDomainElasticsearchClusterConfigDetails
) -> Self
pub fn elasticsearch_cluster_config(
self,
input: AwsElasticsearchDomainElasticsearchClusterConfigDetails
) -> Self
Information about an OpenSearch cluster configuration.
sourcepub fn set_elasticsearch_cluster_config(
self,
input: Option<AwsElasticsearchDomainElasticsearchClusterConfigDetails>
) -> Self
pub fn set_elasticsearch_cluster_config(
self,
input: Option<AwsElasticsearchDomainElasticsearchClusterConfigDetails>
) -> Self
Information about an OpenSearch cluster configuration.
sourcepub fn encryption_at_rest_options(
self,
input: AwsElasticsearchDomainEncryptionAtRestOptions
) -> Self
pub fn encryption_at_rest_options(
self,
input: AwsElasticsearchDomainEncryptionAtRestOptions
) -> Self
Details about the configuration for encryption at rest.
sourcepub fn set_encryption_at_rest_options(
self,
input: Option<AwsElasticsearchDomainEncryptionAtRestOptions>
) -> Self
pub fn set_encryption_at_rest_options(
self,
input: Option<AwsElasticsearchDomainEncryptionAtRestOptions>
) -> Self
Details about the configuration for encryption at rest.
sourcepub fn log_publishing_options(
self,
input: AwsElasticsearchDomainLogPublishingOptions
) -> Self
pub fn log_publishing_options(
self,
input: AwsElasticsearchDomainLogPublishingOptions
) -> Self
Configures the CloudWatch Logs to publish for the Elasticsearch domain.
sourcepub fn set_log_publishing_options(
self,
input: Option<AwsElasticsearchDomainLogPublishingOptions>
) -> Self
pub fn set_log_publishing_options(
self,
input: Option<AwsElasticsearchDomainLogPublishingOptions>
) -> Self
Configures the CloudWatch Logs to publish for the Elasticsearch domain.
sourcepub fn node_to_node_encryption_options(
self,
input: AwsElasticsearchDomainNodeToNodeEncryptionOptions
) -> Self
pub fn node_to_node_encryption_options(
self,
input: AwsElasticsearchDomainNodeToNodeEncryptionOptions
) -> Self
Details about the configuration for node-to-node encryption.
sourcepub fn set_node_to_node_encryption_options(
self,
input: Option<AwsElasticsearchDomainNodeToNodeEncryptionOptions>
) -> Self
pub fn set_node_to_node_encryption_options(
self,
input: Option<AwsElasticsearchDomainNodeToNodeEncryptionOptions>
) -> Self
Details about the configuration for node-to-node encryption.
sourcepub fn service_software_options(
self,
input: AwsElasticsearchDomainServiceSoftwareOptions
) -> Self
pub fn service_software_options(
self,
input: AwsElasticsearchDomainServiceSoftwareOptions
) -> Self
Information about the status of a domain relative to the latest service software.
sourcepub fn set_service_software_options(
self,
input: Option<AwsElasticsearchDomainServiceSoftwareOptions>
) -> Self
pub fn set_service_software_options(
self,
input: Option<AwsElasticsearchDomainServiceSoftwareOptions>
) -> Self
Information about the status of a domain relative to the latest service software.
sourcepub fn vpc_options(self, input: AwsElasticsearchDomainVpcOptions) -> Self
pub fn vpc_options(self, input: AwsElasticsearchDomainVpcOptions) -> Self
Information that OpenSearch derives based on VPCOptions
for the domain.
sourcepub fn set_vpc_options(
self,
input: Option<AwsElasticsearchDomainVpcOptions>
) -> Self
pub fn set_vpc_options(
self,
input: Option<AwsElasticsearchDomainVpcOptions>
) -> Self
Information that OpenSearch derives based on VPCOptions
for the domain.
sourcepub fn build(self) -> AwsElasticsearchDomainDetails
pub fn build(self) -> AwsElasticsearchDomainDetails
Consumes the builder and constructs a AwsElasticsearchDomainDetails
.
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 · sourcefn borrow_mut(&mut self) -> &mut T
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> 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