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