Package com.exoscale.sdk.model
Class InternalAuthenticationBackendLimiting
- java.lang.Object
-
- com.exoscale.sdk.model.InternalAuthenticationBackendLimiting
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class InternalAuthenticationBackendLimiting extends Object
InternalAuthenticationBackendLimiting
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalAuthenticationBackendLimiting.AuthenticationBackendEnum
The internal backend.static class
InternalAuthenticationBackendLimiting.TypeEnum
The type of rate limiting
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ALLOWED_TRIES
static String
JSON_PROPERTY_AUTHENTICATION_BACKEND
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 InternalAuthenticationBackendLimiting()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED_TRIES
public static final String JSON_PROPERTY_ALLOWED_TRIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHENTICATION_BACKEND
public static final String JSON_PROPERTY_AUTHENTICATION_BACKEND
- 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 InternalAuthenticationBackendLimiting allowedTries(Integer allowedTries)
-
getAllowedTries
@Nullable public Integer getAllowedTries()
The number of login attempts allowed before login is blocked minimum: 0 maximum: 2147483647- Returns:
- allowedTries
-
setAllowedTries
public void setAllowedTries(Integer allowedTries)
-
authenticationBackend
public InternalAuthenticationBackendLimiting authenticationBackend(InternalAuthenticationBackendLimiting.AuthenticationBackendEnum authenticationBackend)
-
getAuthenticationBackend
@Nullable public InternalAuthenticationBackendLimiting.AuthenticationBackendEnum getAuthenticationBackend()
The internal backend. Enter `internal`- Returns:
- authenticationBackend
-
setAuthenticationBackend
public void setAuthenticationBackend(InternalAuthenticationBackendLimiting.AuthenticationBackendEnum authenticationBackend)
-
blockExpirySeconds
public InternalAuthenticationBackendLimiting blockExpirySeconds(Integer blockExpirySeconds)
-
getBlockExpirySeconds
@Nullable public Integer getBlockExpirySeconds()
The duration of time that login remains blocked after a failed login minimum: 0 maximum: 2147483647- Returns:
- blockExpirySeconds
-
setBlockExpirySeconds
public void setBlockExpirySeconds(Integer blockExpirySeconds)
-
maxBlockedClients
public InternalAuthenticationBackendLimiting 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 InternalAuthenticationBackendLimiting 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 InternalAuthenticationBackendLimiting timeWindowSeconds(Integer timeWindowSeconds)
-
getTimeWindowSeconds
@Nullable public Integer getTimeWindowSeconds()
The window of time in which the value for `allowed_tries` is enforced minimum: 0 maximum: 2147483647- Returns:
- timeWindowSeconds
-
setTimeWindowSeconds
public void setTimeWindowSeconds(Integer timeWindowSeconds)
-
type
public InternalAuthenticationBackendLimiting type(InternalAuthenticationBackendLimiting.TypeEnum type)
-
getType
@Nullable public InternalAuthenticationBackendLimiting.TypeEnum getType()
The type of rate limiting- Returns:
- type
-
setType
public void setType(InternalAuthenticationBackendLimiting.TypeEnum type)
-
equals
public boolean equals(Object o)
Return true if this Internal_Authentication_Backend_Limiting object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-