Package co.cryptoservice.sdk
Record Class DoraDeprecation
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.DoraDeprecation
- Record Components:
algorithm- the algorithmcategory- the categoryrecommendedMigration- the recommendedMigrationsunsetDate- an ISO 8601 date-time, or a note such as Immediate
public record DoraDeprecation(String algorithm, String category, String recommendedMigration, String sunsetDate)
extends Record
One element of
algorithmDeprecationSchedule.-
Constructor Summary
ConstructorsConstructorDescriptionDoraDeprecation(String algorithm, String category, String recommendedMigration, String sunsetDate) Creates an instance of aDoraDeprecationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.category()Returns the value of thecategoryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therecommendedMigrationrecord component.Returns the value of thesunsetDaterecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.
-
Constructor Details
-
DoraDeprecation
public DoraDeprecation(String algorithm, String category, String recommendedMigration, String sunsetDate) Creates an instance of aDoraDeprecationrecord class.- Parameters:
algorithm- the value for thealgorithmrecord componentcategory- the value for thecategoryrecord componentrecommendedMigration- the value for therecommendedMigrationrecord componentsunsetDate- the value for thesunsetDaterecord component
-
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
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). -
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
recommendedMigration
Returns the value of therecommendedMigrationrecord component.- Returns:
- the value of the
recommendedMigrationrecord component
-
sunsetDate
Returns the value of thesunsetDaterecord component.- Returns:
- the value of the
sunsetDaterecord component
-