Record Class TasklistClientConfigurationProperties

java.lang.Object
java.lang.Record
io.camunda.tasklist.spring.TasklistClientConfigurationProperties

@ConfigurationProperties("tasklist.client") public record TasklistClientConfigurationProperties(TasklistClientConfigurationProperties.Profile profile, Boolean enabled, URL baseUrl, TasklistClientConfigurationProperties.ClientDefaults defaults, String username, String password, Duration sessionTimeout, String clientId, String clientSecret, URL authUrl, String audience, String scope, String region, String clusterId) extends Record
  • Constructor Details

    • TasklistClientConfigurationProperties

      public TasklistClientConfigurationProperties(TasklistClientConfigurationProperties.Profile profile, Boolean enabled, URL baseUrl, TasklistClientConfigurationProperties.ClientDefaults defaults, String username, String password, Duration sessionTimeout, String clientId, String clientSecret, URL authUrl, String audience, String scope, String region, String clusterId)
      Creates an instance of a TasklistClientConfigurationProperties record class.
      Parameters:
      profile - the value for the profile record component
      enabled - the value for the enabled record component
      baseUrl - the value for the baseUrl record component
      defaults - the value for the defaults record component
      username - the value for the username record component
      password - the value for the password record component
      sessionTimeout - the value for the sessionTimeout record component
      clientId - the value for the clientId record component
      clientSecret - the value for the clientSecret record component
      authUrl - the value for the authUrl record component
      audience - the value for the audience record component
      scope - the value for the scope record component
      region - the value for the region record component
      clusterId - the value for the clusterId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • profile

      Returns the value of the profile record component.
      Returns:
      the value of the profile record component
    • enabled

      public Boolean enabled()
      Returns the value of the enabled record component.
      Returns:
      the value of the enabled record component
    • baseUrl

      public URL baseUrl()
      Returns the value of the baseUrl record component.
      Returns:
      the value of the baseUrl record component
    • defaults

      Returns the value of the defaults record component.
      Returns:
      the value of the defaults record component
    • username

      public String username()
      Returns the value of the username record component.
      Returns:
      the value of the username record component
    • password

      public String password()
      Returns the value of the password record component.
      Returns:
      the value of the password record component
    • sessionTimeout

      public Duration sessionTimeout()
      Returns the value of the sessionTimeout record component.
      Returns:
      the value of the sessionTimeout record component
    • clientId

      public String clientId()
      Returns the value of the clientId record component.
      Returns:
      the value of the clientId record component
    • clientSecret

      public String clientSecret()
      Returns the value of the clientSecret record component.
      Returns:
      the value of the clientSecret record component
    • authUrl

      public URL authUrl()
      Returns the value of the authUrl record component.
      Returns:
      the value of the authUrl record component
    • audience

      public String audience()
      Returns the value of the audience record component.
      Returns:
      the value of the audience record component
    • scope

      public String scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • region

      public String region()
      Returns the value of the region record component.
      Returns:
      the value of the region record component
    • clusterId

      public String clusterId()
      Returns the value of the clusterId record component.
      Returns:
      the value of the clusterId record component