Interface VirtualGatewayFileAccessLog.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VirtualGatewayFileAccessLog.Builder,VirtualGatewayFileAccessLog>, SdkBuilder<VirtualGatewayFileAccessLog.Builder,VirtualGatewayFileAccessLog>, SdkPojo
Enclosing class:
VirtualGatewayFileAccessLog

public static interface VirtualGatewayFileAccessLog.Builder extends SdkPojo, CopyableBuilder<VirtualGatewayFileAccessLog.Builder,VirtualGatewayFileAccessLog>
  • Method Details

    • format

      The specified format for the virtual gateway access logs. It can be either json_format or text_format.

      Parameters:
      format - The specified format for the virtual gateway access logs. It can be either json_format or text_format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      The specified format for the virtual gateway access logs. It can be either json_format or text_format.

      This is a convenience method that creates an instance of the LoggingFormat.Builder avoiding the need to create one manually via LoggingFormat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to format(LoggingFormat).

      Parameters:
      format - a consumer that will call methods on LoggingFormat.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • path

      The file path to write access logs to. 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.

      Parameters:
      path - The file path to write access logs to. 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.