#[non_exhaustive]pub struct AccessLogSettingsBuilder { /* private fields */ }Expand description
A builder for AccessLogSettings.
Implementations§
source§impl AccessLogSettingsBuilder
impl AccessLogSettingsBuilder
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
The ARN of the CloudWatch Logs log group to receive access logs.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
The ARN of the CloudWatch Logs log group to receive access logs.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
The ARN of the CloudWatch Logs log group to receive access logs.
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.
sourcepub fn build(self) -> AccessLogSettings
pub fn build(self) -> AccessLogSettings
Consumes the builder and constructs a AccessLogSettings.
Trait Implementations§
source§impl Clone for AccessLogSettingsBuilder
impl Clone for AccessLogSettingsBuilder
source§fn clone(&self) -> AccessLogSettingsBuilder
fn clone(&self) -> AccessLogSettingsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AccessLogSettingsBuilder
impl Debug for AccessLogSettingsBuilder
source§impl Default for AccessLogSettingsBuilder
impl Default for AccessLogSettingsBuilder
source§fn default() -> AccessLogSettingsBuilder
fn default() -> AccessLogSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AccessLogSettingsBuilder
impl PartialEq for AccessLogSettingsBuilder
source§fn eq(&self, other: &AccessLogSettingsBuilder) -> bool
fn eq(&self, other: &AccessLogSettingsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AccessLogSettingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccessLogSettingsBuilder
impl Send for AccessLogSettingsBuilder
impl Sync for AccessLogSettingsBuilder
impl Unpin for AccessLogSettingsBuilder
impl UnwindSafe for AccessLogSettingsBuilder
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
Mutably borrows from an owned value. Read more