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 booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoauth2ThingsDataStorerecord component.Returns the value of theoauth2ThingsDnrecord component.Returns the value of theoauth2ThingsIdentityObjectNamerecord component.Returns the value of theoauth2ThingsNamingAttributerecord component.realm()Returns the value of therealmrecord component.final StringtoString()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 aConfigStaterecord class.- Parameters:
realm- the value for therealmrecord componentoauth2ThingsDataStore- the value for theoauth2ThingsDataStorerecord componentoauth2ThingsDn- the value for theoauth2ThingsDnrecord componentoauth2ThingsNamingAttribute- the value for theoauth2ThingsNamingAttributerecord componentoauth2ThingsIdentityObjectName- the value for theoauth2ThingsIdentityObjectNamerecord 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 therealmrecord component.- Returns:
- the value of the
realmrecord component
-
oauth2ThingsDataStore
Returns the value of theoauth2ThingsDataStorerecord component.- Returns:
- the value of the
oauth2ThingsDataStorerecord component
-
oauth2ThingsDn
Returns the value of theoauth2ThingsDnrecord component.- Returns:
- the value of the
oauth2ThingsDnrecord component
-
oauth2ThingsNamingAttribute
Returns the value of theoauth2ThingsNamingAttributerecord component.- Returns:
- the value of the
oauth2ThingsNamingAttributerecord component
-
oauth2ThingsIdentityObjectName
Returns the value of theoauth2ThingsIdentityObjectNamerecord component.- Returns:
- the value of the
oauth2ThingsIdentityObjectNamerecord component
-