Class CfnVirtualNode.LoggingFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualNode.LoggingFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNode.LoggingFormatProperty>
- Enclosing interface:
CfnVirtualNode.LoggingFormatProperty
@Stability(Stable)
public static final class CfnVirtualNode.LoggingFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNode.LoggingFormatProperty>
A builder for
CfnVirtualNode.LoggingFormatProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVirtualNode.LoggingFormatProperty.getJson()json(IResolvable json) Sets the value ofCfnVirtualNode.LoggingFormatProperty.getJson()Sets the value ofCfnVirtualNode.LoggingFormatProperty.getText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
json
Sets the value ofCfnVirtualNode.LoggingFormatProperty.getJson()- Parameters:
json- The logging format for JSON.- Returns:
this
-
json
@Stability(Stable) public CfnVirtualNode.LoggingFormatProperty.Builder json(List<? extends Object> json) Sets the value ofCfnVirtualNode.LoggingFormatProperty.getJson()- Parameters:
json- The logging format for JSON.- Returns:
this
-
text
Sets the value ofCfnVirtualNode.LoggingFormatProperty.getText()- Parameters:
text- The logging format for text.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualNode.LoggingFormatProperty>- Returns:
- a new instance of
CfnVirtualNode.LoggingFormatProperty - Throws:
NullPointerException- if any required attribute was not provided
-