Package io.camunda.tasklist.spring
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionTasklistClientConfigurationProperties(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 aTasklistClientConfigurationPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaudience()Returns the value of theaudiencerecord component.authUrl()Returns the value of theauthUrlrecord component.baseUrl()Returns the value of thebaseUrlrecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord component.Returns the value of theclusterIdrecord component.defaults()Returns the value of thedefaultsrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.password()Returns the value of thepasswordrecord component.profile()Returns the value of theprofilerecord component.region()Returns the value of theregionrecord component.scope()Returns the value of thescoperecord component.Returns the value of thesessionTimeoutrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
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 aTasklistClientConfigurationPropertiesrecord class.- Parameters:
profile- the value for theprofilerecord componentenabled- the value for theenabledrecord componentbaseUrl- the value for thebaseUrlrecord componentdefaults- the value for thedefaultsrecord componentusername- the value for theusernamerecord componentpassword- the value for thepasswordrecord componentsessionTimeout- the value for thesessionTimeoutrecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componentauthUrl- the value for theauthUrlrecord componentaudience- the value for theaudiencerecord componentscope- the value for thescoperecord componentregion- the value for theregionrecord componentclusterId- the value for theclusterIdrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
baseUrl
Returns the value of thebaseUrlrecord component.- Returns:
- the value of the
baseUrlrecord component
-
defaults
Returns the value of thedefaultsrecord component.- Returns:
- the value of the
defaultsrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
sessionTimeout
Returns the value of thesessionTimeoutrecord component.- Returns:
- the value of the
sessionTimeoutrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord component
-
authUrl
Returns the value of theauthUrlrecord component.- Returns:
- the value of the
authUrlrecord component
-
audience
Returns the value of theaudiencerecord component.- Returns:
- the value of the
audiencerecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
clusterId
Returns the value of theclusterIdrecord component.- Returns:
- the value of the
clusterIdrecord component
-