Struct aws_sdk_securityhub::types::builders::AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
source · #[non_exhaustive]pub struct AwsOpenSearchServiceDomainClusterConfigDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsOpenSearchServiceDomainClusterConfigDetails
.
Implementations§
source§impl AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
impl AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
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 OpenSearch 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 OpenSearch domain.
sourcepub fn get_instance_count(&self) -> &Option<i32>
pub fn get_instance_count(&self) -> &Option<i32>
The number of data nodes to use in the OpenSearch domain.
sourcepub fn warm_enabled(self, input: bool) -> Self
pub fn warm_enabled(self, input: bool) -> Self
Whether UltraWarm is enabled.
sourcepub fn set_warm_enabled(self, input: Option<bool>) -> Self
pub fn set_warm_enabled(self, input: Option<bool>) -> Self
Whether UltraWarm is enabled.
sourcepub fn get_warm_enabled(&self) -> &Option<bool>
pub fn get_warm_enabled(&self) -> &Option<bool>
Whether UltraWarm is enabled.
sourcepub fn warm_count(self, input: i32) -> Self
pub fn warm_count(self, input: i32) -> Self
The number of UltraWarm instances.
sourcepub fn set_warm_count(self, input: Option<i32>) -> Self
pub fn set_warm_count(self, input: Option<i32>) -> Self
The number of UltraWarm instances.
sourcepub fn get_warm_count(&self) -> &Option<i32>
pub fn get_warm_count(&self) -> &Option<i32>
The number of UltraWarm instances.
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 OpenSearch domain. A dedicated master node performs cluster management tasks, but does not 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 OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
sourcepub fn get_dedicated_master_enabled(&self) -> &Option<bool>
pub fn get_dedicated_master_enabled(&self) -> &Option<bool>
Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
sourcepub fn zone_awareness_config(
self,
input: AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails
) -> Self
pub fn zone_awareness_config( self, input: AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails ) -> Self
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
sourcepub fn set_zone_awareness_config(
self,
input: Option<AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>
) -> Self
pub fn set_zone_awareness_config( self, input: Option<AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails> ) -> Self
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
sourcepub fn get_zone_awareness_config(
&self
) -> &Option<AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>
pub fn get_zone_awareness_config( &self ) -> &Option<AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails>
Configuration options for zone awareness. Provided if ZoneAwarenessEnabled
is true
.
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 get_dedicated_master_count(&self) -> &Option<i32>
pub fn get_dedicated_master_count(&self) -> &Option<i32>
The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled
must be true
.
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 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 a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
The instance type for your data nodes.
For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
sourcepub fn set_warm_type(self, input: Option<String>) -> Self
pub fn set_warm_type(self, input: Option<String>) -> Self
The type of UltraWarm instance.
sourcepub fn get_warm_type(&self) -> &Option<String>
pub fn get_warm_type(&self) -> &Option<String>
The type of UltraWarm instance.
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 OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) 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 OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
sourcepub fn get_zone_awareness_enabled(&self) -> &Option<bool>
pub fn get_zone_awareness_enabled(&self) -> &Option<bool>
Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
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.
If this attribute is specified, then DedicatedMasterEnabled
must be true
.
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.
If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourcepub fn get_dedicated_master_type(&self) -> &Option<String>
pub fn get_dedicated_master_type(&self) -> &Option<String>
The hardware configuration of the computer that hosts the dedicated master node.
If this attribute is specified, then DedicatedMasterEnabled
must be true
.
sourcepub fn build(self) -> AwsOpenSearchServiceDomainClusterConfigDetails
pub fn build(self) -> AwsOpenSearchServiceDomainClusterConfigDetails
Consumes the builder and constructs a AwsOpenSearchServiceDomainClusterConfigDetails
.
Trait Implementations§
source§impl Clone for AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
impl Clone for AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
source§fn clone(&self) -> AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
fn clone(&self) -> AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
impl Default for AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
source§fn default() -> AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
fn default() -> AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
source§impl PartialEq for AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
impl PartialEq for AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
source§fn eq(
&self,
other: &AwsOpenSearchServiceDomainClusterConfigDetailsBuilder
) -> bool
fn eq( &self, other: &AwsOpenSearchServiceDomainClusterConfigDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.