Class CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutePropsMixin.GrpcRouteMetadataProperty>
- Enclosing interface:
CfnRoutePropsMixin.GrpcRouteMetadataProperty
@Stability(Stable)
public static final class CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutePropsMixin.GrpcRouteMetadataProperty>
A builder for
CfnRoutePropsMixin.GrpcRouteMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getInvert()invert(IResolvable invert) Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getInvert()match(IResolvable match) Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getMatch()Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getMatch()Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invert
@Stability(Stable) public CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder invert(Boolean invert) Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getInvert()- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
this
-
invert
@Stability(Stable) public CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder invert(IResolvable invert) Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getInvert()- Parameters:
invert- SpecifyTrueto match anything except the match criteria. The default value isFalse.- Returns:
this
-
match
@Stability(Stable) public CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder match(IResolvable match) Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getMatch()- Parameters:
match- An object that represents the data to match from the request.- Returns:
this
-
match
@Stability(Stable) public CfnRoutePropsMixin.GrpcRouteMetadataProperty.Builder match(CfnRoutePropsMixin.GrpcRouteMetadataMatchMethodProperty match) Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getMatch()- Parameters:
match- An object that represents the data to match from the request.- Returns:
this
-
name
Sets the value ofCfnRoutePropsMixin.GrpcRouteMetadataProperty.getName()- Parameters:
name- The name of the route.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutePropsMixin.GrpcRouteMetadataProperty>- Returns:
- a new instance of
CfnRoutePropsMixin.GrpcRouteMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-