Struct aws_sdk_securityhub::model::aws_elasticsearch_domain_elasticsearch_cluster_config_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsElasticsearchDomainElasticsearchClusterConfigDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn dedicated_master_count(self, input: i32) -> Self
pub fn dedicated_master_count(self, input: i32) -> Self
The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourcepub fn set_dedicated_master_count(self, input: Option<i32>) -> Self
pub fn set_dedicated_master_count(self, input: Option<i32>) -> Self
The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourcepub fn dedicated_master_enabled(self, input: bool) -> Self
pub fn dedicated_master_enabled(self, input: bool) -> Self
Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.
sourcepub fn set_dedicated_master_enabled(self, input: Option<bool>) -> Self
pub fn set_dedicated_master_enabled(self, input: Option<bool>) -> Self
Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.
sourcepub fn dedicated_master_type(self, input: impl Into<String>) -> Self
pub fn dedicated_master_type(self, input: impl Into<String>) -> Self
The hardware configuration of the computer that hosts the dedicated master node. A sample value is m3.medium.elasticsearch
. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
sourcepub fn set_dedicated_master_type(self, input: Option<String>) -> Self
pub fn set_dedicated_master_type(self, input: Option<String>) -> Self
The hardware configuration of the computer that hosts the dedicated master node. A sample value is m3.medium.elasticsearch
. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
sourcepub fn instance_count(self, input: i32) -> Self
pub fn instance_count(self, input: i32) -> Self
The number of data nodes to use in the Elasticsearch domain.
sourcepub fn set_instance_count(self, input: Option<i32>) -> Self
pub fn set_instance_count(self, input: Option<i32>) -> Self
The number of data nodes to use in the Elasticsearch domain.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type for your data nodes. For example, m3.medium.elasticsearch
.
For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type for your data nodes. For example, m3.medium.elasticsearch
.
For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
sourcepub fn zone_awareness_config(
self,
input: AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails
) -> Self
pub fn zone_awareness_config(
self,
input: AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails
) -> Self
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
sourcepub fn set_zone_awareness_config(
self,
input: Option<AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails>
) -> Self
pub fn set_zone_awareness_config(
self,
input: Option<AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails>
) -> Self
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
sourcepub fn zone_awareness_enabled(self, input: bool) -> Self
pub fn zone_awareness_enabled(self, input: bool) -> Self
Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
sourcepub fn set_zone_awareness_enabled(self, input: Option<bool>) -> Self
pub fn set_zone_awareness_enabled(self, input: Option<bool>) -> Self
Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
sourcepub fn build(self) -> AwsElasticsearchDomainElasticsearchClusterConfigDetails
pub fn build(self) -> AwsElasticsearchDomainElasticsearchClusterConfigDetails
Consumes the builder and constructs a AwsElasticsearchDomainElasticsearchClusterConfigDetails
.