Class CreateCloudNativeAPIGatewayServiceRequest


  • public class CreateCloudNativeAPIGatewayServiceRequest
    extends AbstractModel
    • Constructor Detail

      • CreateCloudNativeAPIGatewayServiceRequest

        public CreateCloudNativeAPIGatewayServiceRequest()
      • CreateCloudNativeAPIGatewayServiceRequest

        public CreateCloudNativeAPIGatewayServiceRequest​(CreateCloudNativeAPIGatewayServiceRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getGatewayId

        public String getGatewayId()
        Get 网关ID
        Returns:
        GatewayId 网关ID
      • setGatewayId

        public void setGatewayId​(String GatewayId)
        Set 网关ID
        Parameters:
        GatewayId - 网关ID
      • getName

        public String getName()
        Get 服务名称
        Returns:
        Name 服务名称
      • setName

        public void setName​(String Name)
        Set 服务名称
        Parameters:
        Name - 服务名称
      • getProtocol

        public String getProtocol()
        Get 请求协议: - https - http - tcp - udp
        Returns:
        Protocol 请求协议: - https - http - tcp - udp
      • setProtocol

        public void setProtocol​(String Protocol)
        Set 请求协议: - https - http - tcp - udp
        Parameters:
        Protocol - 请求协议: - https - http - tcp - udp
      • getPath

        public String getPath()
        Get 请求路径
        Returns:
        Path 请求路径
      • setPath

        public void setPath​(String Path)
        Set 请求路径
        Parameters:
        Path - 请求路径
      • getTimeout

        public Long getTimeout()
        Get 超时时间,单位ms
        Returns:
        Timeout 超时时间,单位ms
      • setTimeout

        public void setTimeout​(Long Timeout)
        Set 超时时间,单位ms
        Parameters:
        Timeout - 超时时间,单位ms
      • getRetries

        public Long getRetries()
        Get 重试次数
        Returns:
        Retries 重试次数
      • setRetries

        public void setRetries​(Long Retries)
        Set 重试次数
        Parameters:
        Retries - 重试次数
      • getUpstreamType

        public String getUpstreamType()
        Get 服务类型: - Kubernetes - Registry - IPList - HostIP - Scf
        Returns:
        UpstreamType 服务类型: - Kubernetes - Registry - IPList - HostIP - Scf
      • setUpstreamType

        public void setUpstreamType​(String UpstreamType)
        Set 服务类型: - Kubernetes - Registry - IPList - HostIP - Scf
        Parameters:
        UpstreamType - 服务类型: - Kubernetes - Registry - IPList - HostIP - Scf
      • getUpstreamInfo

        public KongUpstreamInfo getUpstreamInfo()
        Get 服务配置信息
        Returns:
        UpstreamInfo 服务配置信息
      • setUpstreamInfo

        public void setUpstreamInfo​(KongUpstreamInfo UpstreamInfo)
        Set 服务配置信息
        Parameters:
        UpstreamInfo - 服务配置信息