#[non_exhaustive]pub struct AwsCloudFrontDistributionLoggingBuilder { /* private fields */ }
Expand description
A builder for AwsCloudFrontDistributionLogging
.
Implementations§
source§impl AwsCloudFrontDistributionLoggingBuilder
impl AwsCloudFrontDistributionLoggingBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The S3 bucket to store the access logs in.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The S3 bucket to store the access logs in.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The S3 bucket to store the access logs in.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
With this field, you can enable or disable the selected distribution.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
With this field, you can enable or disable the selected distribution.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
With this field, you can enable or disable the selected distribution.
Specifies whether you want CloudFront to include cookies in access logs.
Specifies whether you want CloudFront to include cookies in access logs.
Specifies whether you want CloudFront to include cookies in access logs.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
sourcepub fn build(self) -> AwsCloudFrontDistributionLogging
pub fn build(self) -> AwsCloudFrontDistributionLogging
Consumes the builder and constructs a AwsCloudFrontDistributionLogging
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionLoggingBuilder
impl Clone for AwsCloudFrontDistributionLoggingBuilder
source§fn clone(&self) -> AwsCloudFrontDistributionLoggingBuilder
fn clone(&self) -> AwsCloudFrontDistributionLoggingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCloudFrontDistributionLoggingBuilder
impl Default for AwsCloudFrontDistributionLoggingBuilder
source§fn default() -> AwsCloudFrontDistributionLoggingBuilder
fn default() -> AwsCloudFrontDistributionLoggingBuilder
source§impl PartialEq for AwsCloudFrontDistributionLoggingBuilder
impl PartialEq for AwsCloudFrontDistributionLoggingBuilder
source§fn eq(&self, other: &AwsCloudFrontDistributionLoggingBuilder) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionLoggingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsCloudFrontDistributionLoggingBuilder
Auto Trait Implementations§
impl Freeze for AwsCloudFrontDistributionLoggingBuilder
impl RefUnwindSafe for AwsCloudFrontDistributionLoggingBuilder
impl Send for AwsCloudFrontDistributionLoggingBuilder
impl Sync for AwsCloudFrontDistributionLoggingBuilder
impl Unpin for AwsCloudFrontDistributionLoggingBuilder
impl UnwindSafe for AwsCloudFrontDistributionLoggingBuilder
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