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
Modifier and TypeMethodDescriptiondefault FileAccessLog.Builderformat(Consumer<LoggingFormat.Builder> format) The specified format for the logs.format(LoggingFormat format) The specified format for the 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 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
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:
-
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.<note> <p>The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.</p> </note>- 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.<note> <p>The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.</p> </note>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-