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