Class CfnVirtualGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGatewayMixinProps>
- Enclosing interface:
CfnVirtualGatewayMixinProps
@Stability(Stable)
public static final class CfnVirtualGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGatewayMixinProps>
A builder for
CfnVirtualGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVirtualGatewayMixinProps.getMeshName()Sets the value ofCfnVirtualGatewayMixinProps.getMeshOwner()spec(IResolvable spec) Sets the value ofCfnVirtualGatewayMixinProps.getSpec()Sets the value ofCfnVirtualGatewayMixinProps.getSpec()Sets the value ofCfnVirtualGatewayMixinProps.getTags()virtualGatewayName(String virtualGatewayName) Sets the value ofCfnVirtualGatewayMixinProps.getVirtualGatewayName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
meshName
Sets the value ofCfnVirtualGatewayMixinProps.getMeshName()- Parameters:
meshName- The name of the service mesh that the virtual gateway resides in.- Returns:
this
-
meshOwner
Sets the value ofCfnVirtualGatewayMixinProps.getMeshOwner()- Parameters:
meshOwner- The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes .- Returns:
this
-
spec
Sets the value ofCfnVirtualGatewayMixinProps.getSpec()- Parameters:
spec- The specifications of the virtual gateway.- Returns:
this
-
spec
@Stability(Stable) public CfnVirtualGatewayMixinProps.Builder spec(CfnVirtualGatewayPropsMixin.VirtualGatewaySpecProperty spec) Sets the value ofCfnVirtualGatewayMixinProps.getSpec()- Parameters:
spec- The specifications of the virtual gateway.- Returns:
this
-
tags
Sets the value ofCfnVirtualGatewayMixinProps.getTags()- Parameters:
tags- Optional metadata that you can apply to the virtual gateway to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.- Returns:
this
-
virtualGatewayName
@Stability(Stable) public CfnVirtualGatewayMixinProps.Builder virtualGatewayName(String virtualGatewayName) Sets the value ofCfnVirtualGatewayMixinProps.getVirtualGatewayName()- Parameters:
virtualGatewayName- The name of the virtual gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualGatewayMixinProps>- Returns:
- a new instance of
CfnVirtualGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-