Interface CfnRoute.GrpcRouteMatchProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnRoute.GrpcRouteMatchProperty extends
An object that represents the criteria for determining a request match.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 GrpcRouteMatchProperty grpcRouteMatchProperty = GrpcRouteMatchProperty.builder()
                 // the properties below are optional
  • Method Details

    • getMetadata

      @Stability(Stable) @Nullable default Object getMetadata()
      An object that represents the data to match from the request.
    • getMethodName

      @Stability(Stable) @Nullable default String getMethodName()
      The method name to match from the request.

      If you specify a name, you must also specify a serviceName .

    • getPort

      @Stability(Stable) @Nullable default Number getPort()
      The port number to match on.
    • getServiceName

      @Stability(Stable) @Nullable default String getServiceName()
      The fully qualified domain name for the service to match from the request.
    • builder

      @Stability(Stable) static CfnRoute.GrpcRouteMatchProperty.Builder builder()
      a CfnRoute.GrpcRouteMatchProperty.Builder of CfnRoute.GrpcRouteMatchProperty