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 Summary
Modifier and TypeMethodDescriptionformat(Consumer<LoggingFormat.Builder> format) The specified format for the virtual gateway access logs.format(LoggingFormat format) The specified format for the virtual gateway access logs.The file path to write access logs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
format
The specified format for the virtual gateway access logs. It can be either
json_formatortext_format.- Parameters:
format- The specified format for the virtual gateway access logs. It can be eitherjson_formatortext_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
This is a convenience method that creates an instance of thejson_formatortext_format.LoggingFormat.Builderavoiding the need to create one manually viaLoggingFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toformat(LoggingFormat).- Parameters:
format- a consumer that will call methods onLoggingFormat.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/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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-