Class CfnApiGatewayManagedOverrides.AccessLogSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.AccessLogSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.AccessLogSettingsProperty>
- Enclosing interface:
CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
@Stability(Stable)
public static final class CfnApiGatewayManagedOverrides.AccessLogSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.AccessLogSettingsProperty>
A builder for
CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationArn
(String destinationArn) Sets the value ofCfnApiGatewayManagedOverrides.AccessLogSettingsProperty.getFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
@Stability(Stable) public CfnApiGatewayManagedOverrides.AccessLogSettingsProperty.Builder destinationArn(String destinationArn) - Parameters:
destinationArn
- The ARN of the CloudWatch Logs log group to receive access logs.- Returns:
this
-
format
@Stability(Stable) public CfnApiGatewayManagedOverrides.AccessLogSettingsProperty.Builder format(String format) Sets the value ofCfnApiGatewayManagedOverrides.AccessLogSettingsProperty.getFormat()
- Parameters:
format
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.AccessLogSettingsProperty>
- Returns:
- a new instance of
CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-