Class CreatePreviewEndpointRequest


  • public class CreatePreviewEndpointRequest
    extends Object
    CreatePreviewEndpointRequest
    • Constructor Detail

      • CreatePreviewEndpointRequest

        public CreatePreviewEndpointRequest()
    • Method Detail

      • getForkOf

        public ForkOf getForkOf()
        Get forkOf
        Returns:
        forkOf
      • setForkOf

        public void setForkOf​(ForkOf forkOf)
      • getHost

        public String getHost()
        Host is the host-name of a service within Kubernetes of the form `service-name.namespace.svc`. Only required when RouteType is 'static'
        Returns:
        host
      • setHost

        public void setHost​(String host)
      • getName

        public String getName()
        Name of this endpoint. If not specified, a name will be generated automatically.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getPort

        public Integer getPort()
        Port is the port on the above host that the preview will point to. Only required when RouteType is 'static'
        Returns:
        port
      • setPort

        public void setPort​(Integer port)
      • getProtocol

        public String getProtocol()
        Protocol of the endpoint that we will be connecting to for this preview URL. One of 'http', 'https', or 'grpc'. If not specified, the default is 'http'.
        Returns:
        protocol
      • setProtocol

        public void setProtocol​(String protocol)
      • getRouteType

        public String getRouteType()
        RouteType is one of 'static' or 'fork'. If you choose a route of type 'static', this preview endpoint will route traffic to the Host / Port specified. If you choose a route of type 'fork', this preview endpoint will route traffic to a forked entity as specified in forkOf.
        Returns:
        routeType
      • setRouteType

        public void setRouteType​(String routeType)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object