Record Class SecretValue
java.lang.Object
java.lang.Record
com.enkryptify.internal.model.SecretValue
-
Constructor Summary
ConstructorsConstructorDescriptionSecretValue(String environmentId, String value, boolean isPersonal, Reminder reminder) Creates an instance of aSecretValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenvironmentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisPersonalrecord component.reminder()Returns the value of thereminderrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
SecretValue
Creates an instance of aSecretValuerecord class.- Parameters:
environmentId- the value for theenvironmentIdrecord componentvalue- the value for thevaluerecord componentisPersonal- the value for theisPersonalrecord componentreminder- the value for thereminderrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
environmentId
Returns the value of theenvironmentIdrecord component.- Returns:
- the value of the
environmentIdrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
isPersonal
public boolean isPersonal()Returns the value of theisPersonalrecord component.- Returns:
- the value of the
isPersonalrecord component
-
reminder
Returns the value of thereminderrecord component.- Returns:
- the value of the
reminderrecord component
-