Class GrpcRouteMatch.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.GrpcRouteMatch.Jsii$Proxy
All Implemented Interfaces:
GrpcRouteMatch, software.amazon.jsii.JsiiSerializable
Enclosing interface:
GrpcRouteMatch

@Stability(Stable) @Internal public static final class GrpcRouteMatch.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GrpcRouteMatch
An implementation for GrpcRouteMatch
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appmesh.GrpcRouteMatch

    GrpcRouteMatch.Builder, GrpcRouteMatch.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the GrpcRouteMatch.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    Create metadata based gRPC route match.
    final String
    The method name to match from the request.
    final Number
    The port to match from the request.
    final String
    Create service name based gRPC route match.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(GrpcRouteMatch.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GrpcRouteMatch.Builder.
  • Method Details

    • getMetadata

      public final List<HeaderMatch> getMetadata()
      Description copied from interface: GrpcRouteMatch
      Create metadata based gRPC route match.

      All specified metadata must match for the route to match.

      Default: - do not match on metadata

      Specified by:
      getMetadata in interface GrpcRouteMatch
    • getMethodName

      public final String getMethodName()
      Description copied from interface: GrpcRouteMatch
      The method name to match from the request.

      If the method name is specified, service name must be also provided.

      Default: - do not match on method name

      Specified by:
      getMethodName in interface GrpcRouteMatch
    • getPort

      public final Number getPort()
      Description copied from interface: GrpcRouteMatch
      The port to match from the request.

      Default: - do not match on port

      Specified by:
      getPort in interface GrpcRouteMatch
    • getServiceName

      public final String getServiceName()
      Description copied from interface: GrpcRouteMatch
      Create service name based gRPC route match.

      Default: - do not match on service name

      Specified by:
      getServiceName in interface GrpcRouteMatch
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object