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.Builder
file
(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
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 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.Builder
avoiding the need to create one manually viaFileAccessLog.builder()
.When the
Consumer
completes,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:
-