#[non_exhaustive]pub struct AwsApiGatewayAccessLogSettingsBuilder { /* private fields */ }
Expand description
A builder for AwsApiGatewayAccessLogSettings
.
Implementations§
source§impl AwsApiGatewayAccessLogSettingsBuilder
impl AwsApiGatewayAccessLogSettingsBuilder
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 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 that receives the 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 that receives the 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 that receives the access logs.
sourcepub fn build(self) -> AwsApiGatewayAccessLogSettings
pub fn build(self) -> AwsApiGatewayAccessLogSettings
Consumes the builder and constructs a AwsApiGatewayAccessLogSettings
.
Trait Implementations§
source§impl Clone for AwsApiGatewayAccessLogSettingsBuilder
impl Clone for AwsApiGatewayAccessLogSettingsBuilder
source§fn clone(&self) -> AwsApiGatewayAccessLogSettingsBuilder
fn clone(&self) -> AwsApiGatewayAccessLogSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsApiGatewayAccessLogSettingsBuilder
impl Default for AwsApiGatewayAccessLogSettingsBuilder
source§fn default() -> AwsApiGatewayAccessLogSettingsBuilder
fn default() -> AwsApiGatewayAccessLogSettingsBuilder
source§impl PartialEq for AwsApiGatewayAccessLogSettingsBuilder
impl PartialEq for AwsApiGatewayAccessLogSettingsBuilder
source§fn eq(&self, other: &AwsApiGatewayAccessLogSettingsBuilder) -> bool
fn eq(&self, other: &AwsApiGatewayAccessLogSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsApiGatewayAccessLogSettingsBuilder
Auto Trait Implementations§
impl Freeze for AwsApiGatewayAccessLogSettingsBuilder
impl RefUnwindSafe for AwsApiGatewayAccessLogSettingsBuilder
impl Send for AwsApiGatewayAccessLogSettingsBuilder
impl Sync for AwsApiGatewayAccessLogSettingsBuilder
impl Unpin for AwsApiGatewayAccessLogSettingsBuilder
impl UnwindSafe for AwsApiGatewayAccessLogSettingsBuilder
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