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