#[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 Freeze for AccessLogSettingsBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.