Package org.forgerock.am.iot
Record Class OAuth2ThingsConfig.ConfigState
java.lang.Object
java.lang.Record
org.forgerock.am.iot.OAuth2ThingsConfig.ConfigState
- Enclosing class:
- OAuth2ThingsConfig
public static record OAuth2ThingsConfig.ConfigState(Realm realm, Optional<String> oauth2ThingsDataStore, Optional<String> oauth2ThingsDn, Optional<String> oauth2ThingsNamingAttribute, Optional<String> oauth2ThingsIdentityObjectName)
extends Record
Represents the OAuth2Things configuration state for a realm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theoauth2ThingsDataStore
record component.Returns the value of theoauth2ThingsDn
record component.Returns the value of theoauth2ThingsIdentityObjectName
record component.Returns the value of theoauth2ThingsNamingAttribute
record component.realm()
Returns the value of therealm
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConfigState
public ConfigState(Realm realm, Optional<String> oauth2ThingsDataStore, Optional<String> oauth2ThingsDn, Optional<String> oauth2ThingsNamingAttribute, Optional<String> oauth2ThingsIdentityObjectName) Creates an instance of aConfigState
record class.- Parameters:
realm
- the value for therealm
record componentoauth2ThingsDataStore
- the value for theoauth2ThingsDataStore
record componentoauth2ThingsDn
- the value for theoauth2ThingsDn
record componentoauth2ThingsNamingAttribute
- the value for theoauth2ThingsNamingAttribute
record componentoauth2ThingsIdentityObjectName
- the value for theoauth2ThingsIdentityObjectName
record 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)
. -
realm
Returns the value of therealm
record component.- Returns:
- the value of the
realm
record component
-
oauth2ThingsDataStore
Returns the value of theoauth2ThingsDataStore
record component.- Returns:
- the value of the
oauth2ThingsDataStore
record component
-
oauth2ThingsDn
Returns the value of theoauth2ThingsDn
record component.- Returns:
- the value of the
oauth2ThingsDn
record component
-
oauth2ThingsNamingAttribute
Returns the value of theoauth2ThingsNamingAttribute
record component.- Returns:
- the value of the
oauth2ThingsNamingAttribute
record component
-
oauth2ThingsIdentityObjectName
Returns the value of theoauth2ThingsIdentityObjectName
record component.- Returns:
- the value of the
oauth2ThingsIdentityObjectName
record component
-