#[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 ==
.