pub struct Builder { /* private fields */ }
Expand description
A builder for AwsApiGatewayAccessLogSettings
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AwsApiGatewayAccessLogSettings
pub fn build(self) -> AwsApiGatewayAccessLogSettings
Consumes the builder and constructs a AwsApiGatewayAccessLogSettings
.