Class AuthenticationLease.ExpiringBuildStep

java.lang.Object
io.flipt.client.models.AuthenticationLease.ExpiringBuildStep
Enclosing class:
AuthenticationLease

public static class AuthenticationLease.ExpiringBuildStep extends Object
Final build step for expiring leases with configurable retries.
  • Method Details

    • maxRetries

      public AuthenticationLease.ExpiringBuildStep maxRetries(int maxRetries)
      Sets the maximum number of consecutive refresh failures before stopping. Defaults to 5.
      Parameters:
      maxRetries - the maximum number of retries
      Returns:
      this build step
    • build

      public AuthenticationLease build()
      Builds the expiring authentication lease.
      Returns:
      a new AuthenticationLease