Struct aws_sdk_securityhub::types::builders::AwsElasticsearchDomainDomainEndpointOptionsBuilder
source · #[non_exhaustive]pub struct AwsElasticsearchDomainDomainEndpointOptionsBuilder { /* private fields */ }
Expand description
A builder for AwsElasticsearchDomainDomainEndpointOptions
.
Implementations§
source§impl AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl AwsElasticsearchDomainDomainEndpointOptionsBuilder
sourcepub fn enforce_https(self, input: bool) -> Self
pub fn enforce_https(self, input: bool) -> Self
Whether to require that all traffic to the domain arrive over HTTPS.
sourcepub fn set_enforce_https(self, input: Option<bool>) -> Self
pub fn set_enforce_https(self, input: Option<bool>) -> Self
Whether to require that all traffic to the domain arrive over HTTPS.
sourcepub fn get_enforce_https(&self) -> &Option<bool>
pub fn get_enforce_https(&self) -> &Option<bool>
Whether to require that all traffic to the domain arrive over HTTPS.
sourcepub fn tls_security_policy(self, input: impl Into<String>) -> Self
pub fn tls_security_policy(self, input: impl Into<String>) -> Self
The TLS security policy to apply to the HTTPS endpoint of the OpenSearch domain.
Valid values:
-
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher -
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
sourcepub fn set_tls_security_policy(self, input: Option<String>) -> Self
pub fn set_tls_security_policy(self, input: Option<String>) -> Self
The TLS security policy to apply to the HTTPS endpoint of the OpenSearch domain.
Valid values:
-
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher -
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
sourcepub fn get_tls_security_policy(&self) -> &Option<String>
pub fn get_tls_security_policy(&self) -> &Option<String>
The TLS security policy to apply to the HTTPS endpoint of the OpenSearch domain.
Valid values:
-
Policy-Min-TLS-1-0-2019-07
, which supports TLSv1.0 and higher -
Policy-Min-TLS-1-2-2019-07
, which only supports TLSv1.2
sourcepub fn build(self) -> AwsElasticsearchDomainDomainEndpointOptions
pub fn build(self) -> AwsElasticsearchDomainDomainEndpointOptions
Consumes the builder and constructs a AwsElasticsearchDomainDomainEndpointOptions
.
Trait Implementations§
source§impl Clone for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl Clone for AwsElasticsearchDomainDomainEndpointOptionsBuilder
source§fn clone(&self) -> AwsElasticsearchDomainDomainEndpointOptionsBuilder
fn clone(&self) -> AwsElasticsearchDomainDomainEndpointOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl Default for AwsElasticsearchDomainDomainEndpointOptionsBuilder
source§fn default() -> AwsElasticsearchDomainDomainEndpointOptionsBuilder
fn default() -> AwsElasticsearchDomainDomainEndpointOptionsBuilder
source§impl PartialEq for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl PartialEq for AwsElasticsearchDomainDomainEndpointOptionsBuilder
source§fn eq(&self, other: &AwsElasticsearchDomainDomainEndpointOptionsBuilder) -> bool
fn eq(&self, other: &AwsElasticsearchDomainDomainEndpointOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.