Class CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoute.GrpcGatewayRouteMetadataProperty>
- Enclosing interface:
- CfnGatewayRoute.GrpcGatewayRouteMetadataProperty
@Stability(Stable)
public static final class CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoute.GrpcGatewayRouteMetadataProperty>
A builder for
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getInvert()invert(IResolvable invert) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getInvert()match(IResolvable match) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getMatch()Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getMatch()Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder name(String name) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getName()- Parameters:
name- A name for the gateway route metadata. This parameter is required.- Returns:
this
-
invert
@Stability(Stable) public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder invert(Boolean invert) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getInvert()- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
this
-
invert
@Stability(Stable) public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder invert(IResolvable invert) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getInvert()- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder match(IResolvable match) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getMatch()- Parameters:
match- The criteria for determining a metadata match.- Returns:
this
-
match
@Stability(Stable) public CfnGatewayRoute.GrpcGatewayRouteMetadataProperty.Builder match(CfnGatewayRoute.GatewayRouteMetadataMatchProperty match) Sets the value ofCfnGatewayRoute.GrpcGatewayRouteMetadataProperty.getMatch()- Parameters:
match- The criteria for determining a metadata match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoute.GrpcGatewayRouteMetadataProperty>- Returns:
- a new instance of
CfnGatewayRoute.GrpcGatewayRouteMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-