#[non_exhaustive]pub struct InstanceTypeDetailsBuilder { /* private fields */ }
Expand description
A builder for InstanceTypeDetails
.
Implementations§
source§impl InstanceTypeDetailsBuilder
impl InstanceTypeDetailsBuilder
sourcepub fn instance_type(self, input: OpenSearchPartitionInstanceType) -> Self
pub fn instance_type(self, input: OpenSearchPartitionInstanceType) -> Self
The instance type.
sourcepub fn set_instance_type(
self,
input: Option<OpenSearchPartitionInstanceType>
) -> Self
pub fn set_instance_type( self, input: Option<OpenSearchPartitionInstanceType> ) -> Self
The instance type.
sourcepub fn get_instance_type(&self) -> &Option<OpenSearchPartitionInstanceType>
pub fn get_instance_type(&self) -> &Option<OpenSearchPartitionInstanceType>
The instance type.
sourcepub fn encryption_enabled(self, input: bool) -> Self
pub fn encryption_enabled(self, input: bool) -> Self
Whether encryption at rest and node-to-node encryption are supported for the instance type.
sourcepub fn set_encryption_enabled(self, input: Option<bool>) -> Self
pub fn set_encryption_enabled(self, input: Option<bool>) -> Self
Whether encryption at rest and node-to-node encryption are supported for the instance type.
sourcepub fn get_encryption_enabled(&self) -> &Option<bool>
pub fn get_encryption_enabled(&self) -> &Option<bool>
Whether encryption at rest and node-to-node encryption are supported for the instance type.
sourcepub fn cognito_enabled(self, input: bool) -> Self
pub fn cognito_enabled(self, input: bool) -> Self
Whether Amazon Cognito access is supported for the instance type.
sourcepub fn set_cognito_enabled(self, input: Option<bool>) -> Self
pub fn set_cognito_enabled(self, input: Option<bool>) -> Self
Whether Amazon Cognito access is supported for the instance type.
sourcepub fn get_cognito_enabled(&self) -> &Option<bool>
pub fn get_cognito_enabled(&self) -> &Option<bool>
Whether Amazon Cognito access is supported for the instance type.
sourcepub fn app_logs_enabled(self, input: bool) -> Self
pub fn app_logs_enabled(self, input: bool) -> Self
Whether logging is supported for the instance type.
sourcepub fn set_app_logs_enabled(self, input: Option<bool>) -> Self
pub fn set_app_logs_enabled(self, input: Option<bool>) -> Self
Whether logging is supported for the instance type.
sourcepub fn get_app_logs_enabled(&self) -> &Option<bool>
pub fn get_app_logs_enabled(&self) -> &Option<bool>
Whether logging is supported for the instance type.
sourcepub fn advanced_security_enabled(self, input: bool) -> Self
pub fn advanced_security_enabled(self, input: bool) -> Self
Whether fine-grained access control is supported for the instance type.
sourcepub fn set_advanced_security_enabled(self, input: Option<bool>) -> Self
pub fn set_advanced_security_enabled(self, input: Option<bool>) -> Self
Whether fine-grained access control is supported for the instance type.
sourcepub fn get_advanced_security_enabled(&self) -> &Option<bool>
pub fn get_advanced_security_enabled(&self) -> &Option<bool>
Whether fine-grained access control is supported for the instance type.
sourcepub fn warm_enabled(self, input: bool) -> Self
pub fn warm_enabled(self, input: bool) -> Self
Whether UltraWarm is supported for the instance type.
sourcepub fn set_warm_enabled(self, input: Option<bool>) -> Self
pub fn set_warm_enabled(self, input: Option<bool>) -> Self
Whether UltraWarm is supported for the instance type.
sourcepub fn get_warm_enabled(&self) -> &Option<bool>
pub fn get_warm_enabled(&self) -> &Option<bool>
Whether UltraWarm is supported for the instance type.
sourcepub fn instance_role(self, input: impl Into<String>) -> Self
pub fn instance_role(self, input: impl Into<String>) -> Self
Appends an item to instance_role
.
To override the contents of this collection use set_instance_role
.
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
sourcepub fn set_instance_role(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_role(self, input: Option<Vec<String>>) -> Self
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
sourcepub fn get_instance_role(&self) -> &Option<Vec<String>>
pub fn get_instance_role(&self) -> &Option<Vec<String>>
Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
sourcepub fn availability_zones(self, input: impl Into<String>) -> Self
pub fn availability_zones(self, input: impl Into<String>) -> Self
Appends an item to availability_zones
.
To override the contents of this collection use set_availability_zones
.
The supported Availability Zones for the instance type.
sourcepub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
pub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
The supported Availability Zones for the instance type.
sourcepub fn get_availability_zones(&self) -> &Option<Vec<String>>
pub fn get_availability_zones(&self) -> &Option<Vec<String>>
The supported Availability Zones for the instance type.
sourcepub fn build(self) -> InstanceTypeDetails
pub fn build(self) -> InstanceTypeDetails
Consumes the builder and constructs a InstanceTypeDetails
.
Trait Implementations§
source§impl Clone for InstanceTypeDetailsBuilder
impl Clone for InstanceTypeDetailsBuilder
source§fn clone(&self) -> InstanceTypeDetailsBuilder
fn clone(&self) -> InstanceTypeDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceTypeDetailsBuilder
impl Debug for InstanceTypeDetailsBuilder
source§impl Default for InstanceTypeDetailsBuilder
impl Default for InstanceTypeDetailsBuilder
source§fn default() -> InstanceTypeDetailsBuilder
fn default() -> InstanceTypeDetailsBuilder
source§impl PartialEq for InstanceTypeDetailsBuilder
impl PartialEq for InstanceTypeDetailsBuilder
source§fn eq(&self, other: &InstanceTypeDetailsBuilder) -> bool
fn eq(&self, other: &InstanceTypeDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.