Class GrpcGatewayRouteMatch.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class GrpcGatewayRouteMatch.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GrpcGatewayRouteMatch
An implementation for GrpcGatewayRouteMatch
  • 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(GrpcGatewayRouteMatch.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GrpcGatewayRouteMatch.Builder.
  • Method Details

    • getHostname

      public final GatewayRouteHostnameMatch getHostname()
      Description copied from interface: GrpcGatewayRouteMatch
      Create host name based gRPC gateway route match.

      Default: - no matching on host name

      Specified by:
      getHostname in interface GrpcGatewayRouteMatch
    • getMetadata

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

      All specified metadata must match for the route to match.

      Default: - no matching on metadata

      Specified by:
      getMetadata in interface GrpcGatewayRouteMatch
    • getRewriteRequestHostname

      public final Boolean getRewriteRequestHostname()
      Description copied from interface: GrpcGatewayRouteMatch
      When true, rewrites the original request received at the Virtual Gateway to the destination Virtual Service name.

      When false, retains the original hostname from the request.

      Default: true

      Specified by:
      getRewriteRequestHostname in interface GrpcGatewayRouteMatch
    • getServiceName

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

      Default: - no matching on service name

      Specified by:
      getServiceName in interface GrpcGatewayRouteMatch
    • $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