Package com.wavefront.spring.account
Record Class AccountInfo
java.lang.Object
java.lang.Record
com.wavefront.spring.account.AccountInfo
Information of a provisioned account.
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionAccountInfo(String apiToken, String loginUrl)Creates an instance of aAccountInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionapiToken()Returns the value of theapiTokenrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.loginUrl()Returns the value of theloginUrlrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
AccountInfo
Creates an instance of aAccountInforecord class.- Parameters:
apiToken- the value for theapiTokenrecord componentloginUrl- the value for theloginUrlrecord 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). -
apiToken
Returns the value of theapiTokenrecord component.- Returns:
- the value of the
apiTokenrecord component
-
loginUrl
Returns the value of theloginUrlrecord component.- Returns:
- the value of the
loginUrlrecord component
-