Struct aws_sdk_securityhub::types::builders::AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
source · #[non_exhaustive]pub struct AwsCloudFrontDistributionOriginCustomOriginConfigBuilder { /* private fields */ }
Expand description
A builder for AwsCloudFrontDistributionOriginCustomOriginConfig
.
Implementations§
source§impl AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
sourcepub fn http_port(self, input: i32) -> Self
pub fn http_port(self, input: i32) -> Self
The HTTP port that CloudFront uses to connect to the origin.
sourcepub fn set_http_port(self, input: Option<i32>) -> Self
pub fn set_http_port(self, input: Option<i32>) -> Self
The HTTP port that CloudFront uses to connect to the origin.
sourcepub fn get_http_port(&self) -> &Option<i32>
pub fn get_http_port(&self) -> &Option<i32>
The HTTP port that CloudFront uses to connect to the origin.
sourcepub fn https_port(self, input: i32) -> Self
pub fn https_port(self, input: i32) -> Self
The HTTPS port that CloudFront uses to connect to the origin.
sourcepub fn set_https_port(self, input: Option<i32>) -> Self
pub fn set_https_port(self, input: Option<i32>) -> Self
The HTTPS port that CloudFront uses to connect to the origin.
sourcepub fn get_https_port(&self) -> &Option<i32>
pub fn get_https_port(&self) -> &Option<i32>
The HTTPS port that CloudFront uses to connect to the origin.
sourcepub fn origin_keepalive_timeout(self, input: i32) -> Self
pub fn origin_keepalive_timeout(self, input: i32) -> Self
Specifies how long, in seconds, CloudFront persists its connection to the origin.
sourcepub fn set_origin_keepalive_timeout(self, input: Option<i32>) -> Self
pub fn set_origin_keepalive_timeout(self, input: Option<i32>) -> Self
Specifies how long, in seconds, CloudFront persists its connection to the origin.
sourcepub fn get_origin_keepalive_timeout(&self) -> &Option<i32>
pub fn get_origin_keepalive_timeout(&self) -> &Option<i32>
Specifies how long, in seconds, CloudFront persists its connection to the origin.
sourcepub fn origin_protocol_policy(self, input: impl Into<String>) -> Self
pub fn origin_protocol_policy(self, input: impl Into<String>) -> Self
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
sourcepub fn set_origin_protocol_policy(self, input: Option<String>) -> Self
pub fn set_origin_protocol_policy(self, input: Option<String>) -> Self
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
sourcepub fn get_origin_protocol_policy(&self) -> &Option<String>
pub fn get_origin_protocol_policy(&self) -> &Option<String>
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
sourcepub fn origin_read_timeout(self, input: i32) -> Self
pub fn origin_read_timeout(self, input: i32) -> Self
Specifies how long, in seconds, CloudFront waits for a response from the origin.
sourcepub fn set_origin_read_timeout(self, input: Option<i32>) -> Self
pub fn set_origin_read_timeout(self, input: Option<i32>) -> Self
Specifies how long, in seconds, CloudFront waits for a response from the origin.
sourcepub fn get_origin_read_timeout(&self) -> &Option<i32>
pub fn get_origin_read_timeout(&self) -> &Option<i32>
Specifies how long, in seconds, CloudFront waits for a response from the origin.
sourcepub fn origin_ssl_protocols(
self,
input: AwsCloudFrontDistributionOriginSslProtocols
) -> Self
pub fn origin_ssl_protocols( self, input: AwsCloudFrontDistributionOriginSslProtocols ) -> Self
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
sourcepub fn set_origin_ssl_protocols(
self,
input: Option<AwsCloudFrontDistributionOriginSslProtocols>
) -> Self
pub fn set_origin_ssl_protocols( self, input: Option<AwsCloudFrontDistributionOriginSslProtocols> ) -> Self
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
sourcepub fn get_origin_ssl_protocols(
&self
) -> &Option<AwsCloudFrontDistributionOriginSslProtocols>
pub fn get_origin_ssl_protocols( &self ) -> &Option<AwsCloudFrontDistributionOriginSslProtocols>
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
sourcepub fn build(self) -> AwsCloudFrontDistributionOriginCustomOriginConfig
pub fn build(self) -> AwsCloudFrontDistributionOriginCustomOriginConfig
Consumes the builder and constructs a AwsCloudFrontDistributionOriginCustomOriginConfig
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl Clone for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
source§fn clone(&self) -> AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
fn clone(&self) -> AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl Default for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
source§fn default() -> AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
fn default() -> AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
source§impl PartialEq for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl PartialEq for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
source§fn eq(
&self,
other: &AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
) -> bool
fn eq( &self, other: &AwsCloudFrontDistributionOriginCustomOriginConfigBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
Auto Trait Implementations§
impl Freeze for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl RefUnwindSafe for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl Send for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl Sync for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl Unpin for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
impl UnwindSafe for AwsCloudFrontDistributionOriginCustomOriginConfigBuilder
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