Class AccessLogConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.AccessLogConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessLogConfig>
- Enclosing interface:
AccessLogConfig
@Stability(Stable)
public static final class AccessLogConfig.Builder
extends Object
implements software.amazon.jsii.Builder<AccessLogConfig>
A builder for
AccessLogConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.virtualGatewayAccessLog
(CfnVirtualGateway.VirtualGatewayAccessLogProperty virtualGatewayAccessLog) Sets the value ofAccessLogConfig.getVirtualGatewayAccessLog()
virtualNodeAccessLog
(CfnVirtualNode.AccessLogProperty virtualNodeAccessLog) Sets the value ofAccessLogConfig.getVirtualNodeAccessLog()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
virtualGatewayAccessLog
@Stability(Stable) public AccessLogConfig.Builder virtualGatewayAccessLog(CfnVirtualGateway.VirtualGatewayAccessLogProperty virtualGatewayAccessLog) Sets the value ofAccessLogConfig.getVirtualGatewayAccessLog()
- Parameters:
virtualGatewayAccessLog
- VirtualGateway CFN configuration for Access Logging.- Returns:
this
-
virtualNodeAccessLog
@Stability(Stable) public AccessLogConfig.Builder virtualNodeAccessLog(CfnVirtualNode.AccessLogProperty virtualNodeAccessLog) Sets the value ofAccessLogConfig.getVirtualNodeAccessLog()
- Parameters:
virtualNodeAccessLog
- VirtualNode CFN configuration for Access Logging.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccessLogConfig>
- Returns:
- a new instance of
AccessLogConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-