Class CfnVirtualNodePropsMixin.FileAccessLogProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnVirtualNodePropsMixin.FileAccessLogProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNodePropsMixin.FileAccessLogProperty>
- Enclosing interface:
CfnVirtualNodePropsMixin.FileAccessLogProperty
@Stability(Stable)
public static final class CfnVirtualNodePropsMixin.FileAccessLogProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNodePropsMixin.FileAccessLogProperty>
A builder for
CfnVirtualNodePropsMixin.FileAccessLogProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVirtualNodePropsMixin.FileAccessLogProperty.getFormat()format(IResolvable format) Sets the value ofCfnVirtualNodePropsMixin.FileAccessLogProperty.getFormat()Sets the value ofCfnVirtualNodePropsMixin.FileAccessLogProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
@Stability(Stable) public CfnVirtualNodePropsMixin.FileAccessLogProperty.Builder format(IResolvable format) Sets the value ofCfnVirtualNodePropsMixin.FileAccessLogProperty.getFormat()- Parameters:
format- The specified format for the logs. The format is eitherjson_formatortext_format.- Returns:
this
-
format
@Stability(Stable) public CfnVirtualNodePropsMixin.FileAccessLogProperty.Builder format(CfnVirtualNodePropsMixin.LoggingFormatProperty format) Sets the value ofCfnVirtualNodePropsMixin.FileAccessLogProperty.getFormat()- Parameters:
format- The specified format for the logs. The format is eitherjson_formatortext_format.- Returns:
this
-
path
Sets the value ofCfnVirtualNodePropsMixin.FileAccessLogProperty.getPath()- Parameters:
path- The file path to write access logs to. You can use/dev/stdoutto send access logs to standard out and configure your Envoy container to use a log driver, such asawslogs, to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualNodePropsMixin.FileAccessLogProperty>- Returns:
- a new instance of
CfnVirtualNodePropsMixin.FileAccessLogProperty - Throws:
NullPointerException- if any required attribute was not provided
-