Class RouteData

    • Method Detail

      • meshName

        public final String meshName()

        The name of the service mesh that the route resides in.

        Returns:
        The name of the service mesh that the route resides in.
      • metadata

        public final ResourceMetadata metadata()

        The associated metadata for the route.

        Returns:
        The associated metadata for the route.
      • routeName

        public final String routeName()

        The name of the route.

        Returns:
        The name of the route.
      • spec

        public final RouteSpec spec()

        The specifications of the route.

        Returns:
        The specifications of the route.
      • status

        public final RouteStatus status()

        The status of the route.

        Returns:
        The status of the route.
      • virtualRouterName

        public final String virtualRouterName()

        The virtual router that the route is associated with.

        Returns:
        The virtual router that the route is associated with.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)