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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VirtualGatewayFileAccessLog.Builderformat(Consumer<LoggingFormat.Builder> format)The specified format for the virtual gateway access logs.VirtualGatewayFileAccessLog.Builderformat(LoggingFormat format)The specified format for the virtual gateway access logs.VirtualGatewayFileAccessLog.Builderpath(String path)The file path to write access logs to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
format
VirtualGatewayFileAccessLog.Builder format(LoggingFormat 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
default VirtualGatewayFileAccessLog.Builder format(Consumer<LoggingFormat.Builder> 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:
format(LoggingFormat)
-
path
VirtualGatewayFileAccessLog.Builder path(String 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.
-
-