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