Class ElasticIpHealthcheck


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class ElasticIpHealthcheck
    extends Object
    Elastic IP address healthcheck
    • Constructor Detail

      • ElasticIpHealthcheck

        public ElasticIpHealthcheck()
    • Method Detail

      • getStrikesOk

        @Nullable
        public Long getStrikesOk()
        Number of attempts before considering the target healthy (default: 2) minimum: 1 maximum: 20
        Returns:
        strikesOk
      • setStrikesOk

        public void setStrikesOk​(Long strikesOk)
      • getTlsSkipVerify

        @Nullable
        public Boolean getTlsSkipVerify()
        Skip TLS verification
        Returns:
        tlsSkipVerify
      • setTlsSkipVerify

        public void setTlsSkipVerify​(Boolean tlsSkipVerify)
      • getTlsSni

        @Nullable
        public String getTlsSni()
        An optional domain or subdomain to check TLS against
        Returns:
        tlsSni
      • setTlsSni

        public void setTlsSni​(String tlsSni)
      • getStrikesFail

        @Nullable
        public Long getStrikesFail()
        Number of attempts before considering the target unhealthy (default: 3) minimum: 1 maximum: 20
        Returns:
        strikesFail
      • setStrikesFail

        public void setStrikesFail​(Long strikesFail)
      • getPort

        @Nonnull
        public Long getPort()
        Health check port minimum: 1 maximum: 65535
        Returns:
        port
      • setPort

        public void setPort​(Long port)
      • getUri

        @Nullable
        public String getUri()
        An endpoint to use for the health check, for example '/status'
        Returns:
        uri
      • setUri

        public void setUri​(String uri)
      • getInterval

        @Nullable
        public Long getInterval()
        Interval between the checks in seconds (default: 10) minimum: 5 maximum: 300
        Returns:
        interval
      • setInterval

        public void setInterval​(Long interval)
      • getTimeout

        @Nullable
        public Long getTimeout()
        Health check timeout value in seconds (default: 2) minimum: 2 maximum: 60
        Returns:
        timeout
      • setTimeout

        public void setTimeout​(Long timeout)
      • equals

        public boolean equals​(Object o)
        Return true if this elastic-ip-healthcheck object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string