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 SummaryConstructors
- 
Method SummaryModifier 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- 
ConfigStatepublic 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 the- realmrecord component
- oauth2ThingsDataStore- the value for the- oauth2ThingsDataStorerecord component
- oauth2ThingsDn- the value for the- oauth2ThingsDnrecord component
- oauth2ThingsNamingAttribute- the value for the- oauth2ThingsNamingAttributerecord component
- oauth2ThingsIdentityObjectName- the value for the- oauth2ThingsIdentityObjectNamerecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
realmReturns the value of therealmrecord component.- Returns:
- the value of the realmrecord component
 
- 
oauth2ThingsDataStoreReturns the value of theoauth2ThingsDataStorerecord component.- Returns:
- the value of the oauth2ThingsDataStorerecord component
 
- 
oauth2ThingsDnReturns the value of theoauth2ThingsDnrecord component.- Returns:
- the value of the oauth2ThingsDnrecord component
 
- 
oauth2ThingsNamingAttributeReturns the value of theoauth2ThingsNamingAttributerecord component.- Returns:
- the value of the oauth2ThingsNamingAttributerecord component
 
- 
oauth2ThingsIdentityObjectNameReturns the value of theoauth2ThingsIdentityObjectNamerecord component.- Returns:
- the value of the oauth2ThingsIdentityObjectNamerecord component
 
 
-