Class CfnVirtualGateway.VirtualGatewayLoggingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayLoggingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayLoggingProperty>
- Enclosing interface:
CfnVirtualGateway.VirtualGatewayLoggingProperty
@Stability(Stable)
public static final class CfnVirtualGateway.VirtualGatewayLoggingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayLoggingProperty>
A builder for
CfnVirtualGateway.VirtualGatewayLoggingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessLog
(IResolvable accessLog) Sets the value ofCfnVirtualGateway.VirtualGatewayLoggingProperty.getAccessLog()
Sets the value ofCfnVirtualGateway.VirtualGatewayLoggingProperty.getAccessLog()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessLog
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayLoggingProperty.Builder accessLog(IResolvable accessLog) Sets the value ofCfnVirtualGateway.VirtualGatewayLoggingProperty.getAccessLog()
- Parameters:
accessLog
- The access log configuration.- Returns:
this
-
accessLog
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayLoggingProperty.Builder accessLog(CfnVirtualGateway.VirtualGatewayAccessLogProperty accessLog) Sets the value ofCfnVirtualGateway.VirtualGatewayLoggingProperty.getAccessLog()
- Parameters:
accessLog
- The access log configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayLoggingProperty>
- Returns:
- a new instance of
CfnVirtualGateway.VirtualGatewayLoggingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-