Package com.exoscale.sdk.model
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of rate limiting -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedTries(Integer allowedTries) blockExpirySeconds(Integer blockExpirySeconds) booleanReturn true if this IP_address_rate_limiting_settings object is equal to o.The number of login attempts allowed before login is blocked minimum: 1 maximum: 2147483647The duration of time that login remains blocked after a failed login minimum: 1 maximum: 36000The maximum number of blocked IP addresses minimum: 0 maximum: 2147483647The maximum number of tracked IP addresses that have failed login minimum: 0 maximum: 2147483647The window of time in which the value for `allowed_tries` is enforced minimum: 1 maximum: 36000getType()The type of rate limitinginthashCode()maxBlockedClients(Integer maxBlockedClients) maxTrackedClients(Integer maxTrackedClients) voidsetAllowedTries(Integer allowedTries) voidsetBlockExpirySeconds(Integer blockExpirySeconds) voidsetMaxBlockedClients(Integer maxBlockedClients) voidsetMaxTrackedClients(Integer maxTrackedClients) voidsetTimeWindowSeconds(Integer timeWindowSeconds) voidtimeWindowSeconds(Integer timeWindowSeconds) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ALLOWED_TRIES
- See Also:
-
JSON_PROPERTY_BLOCK_EXPIRY_SECONDS
- See Also:
-
JSON_PROPERTY_MAX_BLOCKED_CLIENTS
- See Also:
-
JSON_PROPERTY_MAX_TRACKED_CLIENTS
- See Also:
-
JSON_PROPERTY_TIME_WINDOW_SECONDS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
IPAddressRateLimitingSettings
public IPAddressRateLimitingSettings()
-
-
Method Details
-
allowedTries
-
getAllowedTries
The number of login attempts allowed before login is blocked minimum: 1 maximum: 2147483647- Returns:
- allowedTries
-
setAllowedTries
-
blockExpirySeconds
-
getBlockExpirySeconds
The duration of time that login remains blocked after a failed login minimum: 1 maximum: 36000- Returns:
- blockExpirySeconds
-
setBlockExpirySeconds
-
maxBlockedClients
-
getMaxBlockedClients
The maximum number of blocked IP addresses minimum: 0 maximum: 2147483647- Returns:
- maxBlockedClients
-
setMaxBlockedClients
-
maxTrackedClients
-
getMaxTrackedClients
The maximum number of tracked IP addresses that have failed login minimum: 0 maximum: 2147483647- Returns:
- maxTrackedClients
-
setMaxTrackedClients
-
timeWindowSeconds
-
getTimeWindowSeconds
The window of time in which the value for `allowed_tries` is enforced minimum: 1 maximum: 36000- Returns:
- timeWindowSeconds
-
setTimeWindowSeconds
-
type
-
getType
The type of rate limiting- Returns:
- type
-
setType
-
equals
Return true if this IP_address_rate_limiting_settings object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-