Class CfnGatewayRouteMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRouteMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRouteMixinProps>
- Enclosing interface:
CfnGatewayRouteMixinProps
@Stability(Stable)
public static final class CfnGatewayRouteMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRouteMixinProps>
A builder for
CfnGatewayRouteMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gatewayRouteName(String gatewayRouteName) Sets the value ofCfnGatewayRouteMixinProps.getGatewayRouteName()Sets the value ofCfnGatewayRouteMixinProps.getMeshName()Sets the value ofCfnGatewayRouteMixinProps.getMeshOwner()Sets the value ofCfnGatewayRouteMixinProps.getSpec()spec(IResolvable spec) Sets the value ofCfnGatewayRouteMixinProps.getSpec()Sets the value ofCfnGatewayRouteMixinProps.getTags()virtualGatewayName(String virtualGatewayName) Sets the value ofCfnGatewayRouteMixinProps.getVirtualGatewayName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayRouteName
@Stability(Stable) public CfnGatewayRouteMixinProps.Builder gatewayRouteName(String gatewayRouteName) Sets the value ofCfnGatewayRouteMixinProps.getGatewayRouteName()- Parameters:
gatewayRouteName- The name of the gateway route.- Returns:
this
-
meshName
Sets the value ofCfnGatewayRouteMixinProps.getMeshName()- Parameters:
meshName- The name of the service mesh that the resource resides in.- Returns:
this
-
meshOwner
Sets the value ofCfnGatewayRouteMixinProps.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 ofCfnGatewayRouteMixinProps.getSpec()- Parameters:
spec- The specifications of the gateway route.- Returns:
this
-
spec
@Stability(Stable) public CfnGatewayRouteMixinProps.Builder spec(CfnGatewayRoutePropsMixin.GatewayRouteSpecProperty spec) Sets the value ofCfnGatewayRouteMixinProps.getSpec()- Parameters:
spec- The specifications of the gateway route.- Returns:
this
-
tags
Sets the value ofCfnGatewayRouteMixinProps.getTags()- Parameters:
tags- Optional metadata that you can apply to the gateway route 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 CfnGatewayRouteMixinProps.Builder virtualGatewayName(String virtualGatewayName) Sets the value ofCfnGatewayRouteMixinProps.getVirtualGatewayName()- Parameters:
virtualGatewayName- The virtual gateway that the gateway route is associated with.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRouteMixinProps>- Returns:
- a new instance of
CfnGatewayRouteMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-