Interface AccessLog.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessLog.Builder,,AccessLog> SdkBuilder<AccessLog.Builder,,AccessLog> SdkPojo
- Enclosing class:
AccessLog
public static interface AccessLog.Builder
extends SdkPojo, CopyableBuilder<AccessLog.Builder,AccessLog>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AccessLog.Builderfile(Consumer<FileAccessLog.Builder> file) The file object to send virtual node access logs to.file(FileAccessLog file) The file object to send virtual node 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
-
file
The file object to send virtual node access logs to.
- Parameters:
file- The file object to send virtual node access logs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
file
The file object to send virtual node access logs to.
This is a convenience method that creates an instance of theFileAccessLog.Builderavoiding the need to create one manually viaFileAccessLog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofile(FileAccessLog).- Parameters:
file- a consumer that will call methods onFileAccessLog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-