Class CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty>
- Enclosing interface:
CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty
@Stability(Stable)
public static final class CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.format(IResolvable format)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
@Stability(Stable) public CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder format(IResolvable format) - Parameters:
format- The specified format for the virtual gateway access logs. It can be eitherjson_formatortext_format.- Returns:
this
-
format
@Stability(Stable) public CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder format(CfnVirtualGatewayPropsMixin.LoggingFormatProperty format) - Parameters:
format- The specified format for the virtual gateway access logs. It can be eitherjson_formatortext_format.- Returns:
this
-
path
@Stability(Stable) public CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty.Builder path(String path) - Parameters:
path- The file path to write access logs to. You can use/dev/stdoutto send access logs to standard out and configure your Envoy container to use a log driver, such asawslogs, to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty>- Returns:
- a new instance of
CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty - Throws:
NullPointerException- if any required attribute was not provided
-