public static final class CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder
extends java.lang.Object
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty |
build()
Builds the configured instance.
|
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder |
format(CfnVirtualGateway.LoggingFormatProperty format)
Sets the value of
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.getFormat() |
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder |
format(IResolvable format)
Sets the value of
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.getFormat() |
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder |
path(java.lang.String path)
Sets the value of
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.getPath() |
public CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder path(java.lang.String path)
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.getPath()
path
- The file path to write access logs to. This parameter is required.
You can use /dev/stdout
to send access logs to standard out and configure your Envoy container to use a log driver, such as awslogs
, 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.this
public CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder format(IResolvable format)
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.getFormat()
format
- The specified format for the virtual gateway access logs.
It can be either json_format
or text_format
.this
public CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.Builder format(CfnVirtualGateway.LoggingFormatProperty format)
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty.getFormat()
format
- The specified format for the virtual gateway access logs.
It can be either json_format
or text_format
.this
public CfnVirtualGateway.VirtualGatewayFileAccessLogProperty build()
CfnVirtualGateway.VirtualGatewayFileAccessLogProperty
java.lang.NullPointerException
- if any required attribute was not provided