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
Modifier and TypeClassDescriptionstatic enum
The type of rate limiting -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedTries
(Integer allowedTries) blockExpirySeconds
(Integer blockExpirySeconds) boolean
Return 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 limitingint
hashCode()
maxBlockedClients
(Integer maxBlockedClients) maxTrackedClients
(Integer maxTrackedClients) void
setAllowedTries
(Integer allowedTries) void
setBlockExpirySeconds
(Integer blockExpirySeconds) void
setMaxBlockedClients
(Integer maxBlockedClients) void
setMaxTrackedClients
(Integer maxTrackedClients) void
setTimeWindowSeconds
(Integer timeWindowSeconds) void
timeWindowSeconds
(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
-