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