Interface VirtualGatewayLogging.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewayLogging.Builder,
,VirtualGatewayLogging> SdkBuilder<VirtualGatewayLogging.Builder,
,VirtualGatewayLogging> SdkPojo
- Enclosing class:
VirtualGatewayLogging
public static interface VirtualGatewayLogging.Builder
extends SdkPojo, CopyableBuilder<VirtualGatewayLogging.Builder,VirtualGatewayLogging>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VirtualGatewayLogging.Builder
accessLog
(Consumer<VirtualGatewayAccessLog.Builder> accessLog) The access log configuration.accessLog
(VirtualGatewayAccessLog accessLog) The access log configuration.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
-
accessLog
The access log configuration.
- Parameters:
accessLog
- The access log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessLog
default VirtualGatewayLogging.Builder accessLog(Consumer<VirtualGatewayAccessLog.Builder> accessLog) The access log configuration.
This is a convenience method that creates an instance of theVirtualGatewayAccessLog.Builder
avoiding the need to create one manually viaVirtualGatewayAccessLog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessLog(VirtualGatewayAccessLog)
.- Parameters:
accessLog
- a consumer that will call methods onVirtualGatewayAccessLog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-