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 Classes Modifier and Type Class Description static class
IPAddressRateLimitingSettings.TypeEnum
The type of rate limiting
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ALLOWED_TRIES
static String
JSON_PROPERTY_BLOCK_EXPIRY_SECONDS
static String
JSON_PROPERTY_MAX_BLOCKED_CLIENTS
static String
JSON_PROPERTY_MAX_TRACKED_CLIENTS
static String
JSON_PROPERTY_TIME_WINDOW_SECONDS
static String
JSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description IPAddressRateLimitingSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPAddressRateLimitingSettings
allowedTries(Integer allowedTries)
IPAddressRateLimitingSettings
blockExpirySeconds(Integer blockExpirySeconds)
boolean
equals(Object o)
Return true if this IP_address_rate_limiting_settings object is equal to o.Integer
getAllowedTries()
The number of login attempts allowed before login is blocked minimum: 1 maximum: 2147483647Integer
getBlockExpirySeconds()
The duration of time that login remains blocked after a failed login minimum: 1 maximum: 36000Integer
getMaxBlockedClients()
The maximum number of blocked IP addresses minimum: 0 maximum: 2147483647Integer
getMaxTrackedClients()
The maximum number of tracked IP addresses that have failed login minimum: 0 maximum: 2147483647Integer
getTimeWindowSeconds()
The window of time in which the value for `allowed_tries` is enforced minimum: 1 maximum: 36000IPAddressRateLimitingSettings.TypeEnum
getType()
The type of rate limitingint
hashCode()
IPAddressRateLimitingSettings
maxBlockedClients(Integer maxBlockedClients)
IPAddressRateLimitingSettings
maxTrackedClients(Integer maxTrackedClients)
void
setAllowedTries(Integer allowedTries)
void
setBlockExpirySeconds(Integer blockExpirySeconds)
void
setMaxBlockedClients(Integer maxBlockedClients)
void
setMaxTrackedClients(Integer maxTrackedClients)
void
setTimeWindowSeconds(Integer timeWindowSeconds)
void
setType(IPAddressRateLimitingSettings.TypeEnum type)
IPAddressRateLimitingSettings
timeWindowSeconds(Integer timeWindowSeconds)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.IPAddressRateLimitingSettings
type(IPAddressRateLimitingSettings.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED_TRIES
public static final String JSON_PROPERTY_ALLOWED_TRIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BLOCK_EXPIRY_SECONDS
public static final String JSON_PROPERTY_BLOCK_EXPIRY_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_BLOCKED_CLIENTS
public static final String JSON_PROPERTY_MAX_BLOCKED_CLIENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_TRACKED_CLIENTS
public static final String JSON_PROPERTY_MAX_TRACKED_CLIENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIME_WINDOW_SECONDS
public static final String JSON_PROPERTY_TIME_WINDOW_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public IPAddressRateLimitingSettings type(IPAddressRateLimitingSettings.TypeEnum 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.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-