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