Class IPAddressRateLimitingSettings

java.lang.Object
com.exoscale.sdk.model.IPAddressRateLimitingSettings

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class IPAddressRateLimitingSettings extends Object
IPAddressRateLimitingSettings
  • Field Details

  • Constructor Details

    • IPAddressRateLimitingSettings

      public IPAddressRateLimitingSettings()
  • Method Details

    • allowedTries

      public IPAddressRateLimitingSettings allowedTries(Integer allowedTries)
    • getAllowedTries

      @Nullable public Integer getAllowedTries()
      The number of login attempts allowed before login is blocked minimum: 1 maximum: 2147483647
      Returns:
      allowedTries
    • setAllowedTries

      public void setAllowedTries(Integer allowedTries)
    • blockExpirySeconds

      public IPAddressRateLimitingSettings blockExpirySeconds(Integer blockExpirySeconds)
    • getBlockExpirySeconds

      @Nullable public Integer getBlockExpirySeconds()
      The duration of time that login remains blocked after a failed login minimum: 1 maximum: 36000
      Returns:
      blockExpirySeconds
    • setBlockExpirySeconds

      public void setBlockExpirySeconds(Integer blockExpirySeconds)
    • maxBlockedClients

      public IPAddressRateLimitingSettings maxBlockedClients(Integer maxBlockedClients)
    • getMaxBlockedClients

      @Nullable public Integer getMaxBlockedClients()
      The maximum number of blocked IP addresses minimum: 0 maximum: 2147483647
      Returns:
      maxBlockedClients
    • setMaxBlockedClients

      public void setMaxBlockedClients(Integer maxBlockedClients)
    • maxTrackedClients

      public IPAddressRateLimitingSettings maxTrackedClients(Integer maxTrackedClients)
    • getMaxTrackedClients

      @Nullable public Integer getMaxTrackedClients()
      The maximum number of tracked IP addresses that have failed login minimum: 0 maximum: 2147483647
      Returns:
      maxTrackedClients
    • setMaxTrackedClients

      public void setMaxTrackedClients(Integer maxTrackedClients)
    • timeWindowSeconds

      public IPAddressRateLimitingSettings timeWindowSeconds(Integer timeWindowSeconds)
    • getTimeWindowSeconds

      @Nullable public Integer getTimeWindowSeconds()
      The window of time in which the value for `allowed_tries` is enforced minimum: 1 maximum: 36000
      Returns:
      timeWindowSeconds
    • setTimeWindowSeconds

      public void setTimeWindowSeconds(Integer timeWindowSeconds)
    • type

    • getType

      @Nullable public IPAddressRateLimitingSettings.TypeEnum getType()
      The type of rate limiting
      Returns:
      type
    • setType

      public void setType(IPAddressRateLimitingSettings.TypeEnum type)
    • equals

      public boolean equals(Object o)
      Return true if this IP_address_rate_limiting_settings object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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