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