Struct aws_sdk_securityhub::model::aws_elasticsearch_domain_domain_endpoint_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsElasticsearchDomainDomainEndpointOptions
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AwsElasticsearchDomainDomainEndpointOptions
pub fn build(self) -> AwsElasticsearchDomainDomainEndpointOptions
Consumes the builder and constructs a AwsElasticsearchDomainDomainEndpointOptions
.