Klasse DenyByIPForFailedAuthConfig

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.DenyByIPForFailedAuthConfig

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class DenyByIPForFailedAuthConfig extends Object
DenyByIPForFailedAuthConfig
  • Felddetails

    • blockIntervalInSeconds

      protected String blockIntervalInSeconds
      Specifies the block time interval(in seconds) for an IP address from accessing APIGateway
    • deniedIPList

      protected List<String> deniedIPList
      Specifies list of IP addresses that are denied from accessing APIGateway
    • isEnabled

      protected String isEnabled
      Specifies whether to enable authentication based restrictions by blocking/denying IP addresses which failed authentication.
    • maximumFailedAuthRequests

      protected String maximumFailedAuthRequests
      Specifies maximum failed requests for a particular IP address.
    • maximumFailedAuthRequestsDuration

      protected String maximumFailedAuthRequestsDuration
      Specifies the time interval, in seconds, in which maximum authentication failure can be permitted.
    • whenLimitExceeds

      protected String whenLimitExceeds
      Specifies action to be performed when maximum failed request is breached. The value can be BLOCK or DENY
  • Konstruktordetails

    • DenyByIPForFailedAuthConfig

      public DenyByIPForFailedAuthConfig(Consumer<DenyByIPForFailedAuthConfig> spec)
      Constructs a validated instance of DenyByIPForFailedAuthConfig.
      Parameter:
      spec - the specification to process
    • DenyByIPForFailedAuthConfig

      @Internal public DenyByIPForFailedAuthConfig(String blockIntervalInSeconds, List<String> deniedIPList, String isEnabled, String maximumFailedAuthRequests, String maximumFailedAuthRequestsDuration, String whenLimitExceeds)
      Constructs a validated instance of DenyByIPForFailedAuthConfig.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using DenyByIPForFailedAuthConfig(Consumer) instead.

      Parameter:
      blockIntervalInSeconds - Specifies the block time interval(in seconds) for an IP address from accessing APIGateway
      deniedIPList - Specifies list of IP addresses that are denied from accessing APIGateway
      isEnabled - Specifies whether to enable authentication based restrictions by blocking/denying IP addresses which failed authentication.
      maximumFailedAuthRequests - Specifies maximum failed requests for a particular IP address.
      maximumFailedAuthRequestsDuration - Specifies the time interval, in seconds, in which maximum authentication failure can be permitted.
      whenLimitExceeds - Specifies action to be performed when maximum failed request is breached. The value can be BLOCK or DENY
    • DenyByIPForFailedAuthConfig

      protected DenyByIPForFailedAuthConfig()
  • Methodendetails

    • builder

    • blockIntervalInSeconds

      public String blockIntervalInSeconds()
      Specifies the block time interval(in seconds) for an IP address from accessing APIGateway
    • deniedIPList

      public List<String> deniedIPList()
      Specifies list of IP addresses that are denied from accessing APIGateway
    • isEnabled

      public String isEnabled()
      Specifies whether to enable authentication based restrictions by blocking/denying IP addresses which failed authentication.
    • maximumFailedAuthRequests

      public String maximumFailedAuthRequests()
      Specifies maximum failed requests for a particular IP address.
    • maximumFailedAuthRequestsDuration

      public String maximumFailedAuthRequestsDuration()
      Specifies the time interval, in seconds, in which maximum authentication failure can be permitted.
    • whenLimitExceeds

      public String whenLimitExceeds()
      Specifies action to be performed when maximum failed request is breached. The value can be BLOCK or DENY
    • blockIntervalInSeconds

      public DenyByIPForFailedAuthConfig blockIntervalInSeconds(String blockIntervalInSeconds)
      Specifies the block time interval(in seconds) for an IP address from accessing APIGateway
      Gibt zurück:
      this.
    • deniedIPList

      public DenyByIPForFailedAuthConfig deniedIPList(List<String> deniedIPList)
      Specifies list of IP addresses that are denied from accessing APIGateway
      Gibt zurück:
      this.
    • isEnabled

      public DenyByIPForFailedAuthConfig isEnabled(String isEnabled)
      Specifies whether to enable authentication based restrictions by blocking/denying IP addresses which failed authentication.
      Gibt zurück:
      this.
    • maximumFailedAuthRequests

      public DenyByIPForFailedAuthConfig maximumFailedAuthRequests(String maximumFailedAuthRequests)
      Specifies maximum failed requests for a particular IP address.
      Gibt zurück:
      this.
    • maximumFailedAuthRequestsDuration

      public DenyByIPForFailedAuthConfig maximumFailedAuthRequestsDuration(String maximumFailedAuthRequestsDuration)
      Specifies the time interval, in seconds, in which maximum authentication failure can be permitted.
      Gibt zurück:
      this.
    • whenLimitExceeds

      public DenyByIPForFailedAuthConfig whenLimitExceeds(String whenLimitExceeds)
      Specifies action to be performed when maximum failed request is breached. The value can be BLOCK or DENY
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object