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 ==
.impl StructuralPartialEq for AwsElasticsearchDomainDomainEndpointOptionsBuilder
Auto Trait Implementations§
impl Freeze for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl RefUnwindSafe for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl Send for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl Sync for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl Unpin for AwsElasticsearchDomainDomainEndpointOptionsBuilder
impl UnwindSafe for AwsElasticsearchDomainDomainEndpointOptionsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more