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