Interface FileAccessLog.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FileAccessLog.Builder,FileAccessLog>,SdkBuilder<FileAccessLog.Builder,FileAccessLog>,SdkPojo
- Enclosing class:
- FileAccessLog
public static interface FileAccessLog.Builder extends SdkPojo, CopyableBuilder<FileAccessLog.Builder,FileAccessLog>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FileAccessLog.Builderformat(Consumer<LoggingFormat.Builder> format)The specified format for the logs.FileAccessLog.Builderformat(LoggingFormat format)The specified format for the logs.FileAccessLog.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
FileAccessLog.Builder format(LoggingFormat format)
The specified format for the logs. The format is either
json_formatortext_format.- Parameters:
format- The specified format for the logs. The format is eitherjson_formatortext_format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
default FileAccessLog.Builder format(Consumer<LoggingFormat.Builder> format)
The specified format for the logs. The format is 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
FileAccessLog.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.The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.
- 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.The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-