Record Class LegacySignedIdentityDocumentEntity
java.lang.Object
java.lang.Record
com.yahoo.vespa.athenz.identityprovider.api.bindings.LegacySignedIdentityDocumentEntity
- All Implemented Interfaces:
SignedIdentityDocumentEntity
public record LegacySignedIdentityDocumentEntity(String signature, int signingKeyVersion, String providerUniqueId, String providerService, int documentVersion, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, String identityType, String clusterType, String ztsUrl, String serviceIdentity, Map<String,Object> unknownAttributes)
extends Record
implements SignedIdentityDocumentEntity
- Author:
- bjorncs
-
Constructor Summary
ConstructorDescriptionLegacySignedIdentityDocumentEntity
(String signature, int signingKeyVersion, String providerUniqueId, String providerService, int documentVersion, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, String identityType, String clusterType, String ztsUrl, String serviceIdentity) LegacySignedIdentityDocumentEntity
(String signature, int signingKeyVersion, String providerUniqueId, String providerService, int documentVersion, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, String identityType, String clusterType, String ztsUrl, String serviceIdentity, Map<String, Object> unknownAttributes) Creates an instance of aLegacySignedIdentityDocumentEntity
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclusterType
record component.Returns the value of theconfigServerHostname
record component.Returns the value of thecreatedAt
record component.int
Returns the value of thedocumentVersion
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theidentityType
record component.Returns the value of theinstanceHostname
record component.Returns the value of theipAddresses
record component.Returns the value of theproviderService
record component.Returns the value of theproviderUniqueId
record component.Returns the value of theserviceIdentity
record component.void
Returns the value of thesignature
record component.int
Returns the value of thesigningKeyVersion
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theunknownAttributes
record component.ztsUrl()
Returns the value of theztsUrl
record component.
-
Constructor Details
-
LegacySignedIdentityDocumentEntity
public LegacySignedIdentityDocumentEntity(String signature, int signingKeyVersion, String providerUniqueId, String providerService, int documentVersion, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, String identityType, String clusterType, String ztsUrl, String serviceIdentity) -
LegacySignedIdentityDocumentEntity
public LegacySignedIdentityDocumentEntity(String signature, int signingKeyVersion, String providerUniqueId, String providerService, int documentVersion, String configServerHostname, String instanceHostname, Instant createdAt, Set<String> ipAddresses, String identityType, String clusterType, String ztsUrl, String serviceIdentity, Map<String, Object> unknownAttributes) Creates an instance of aLegacySignedIdentityDocumentEntity
record class.- Parameters:
signature
- the value for thesignature
record componentsigningKeyVersion
- the value for thesigningKeyVersion
record componentproviderUniqueId
- the value for theproviderUniqueId
record componentproviderService
- the value for theproviderService
record componentdocumentVersion
- the value for thedocumentVersion
record componentconfigServerHostname
- the value for theconfigServerHostname
record componentinstanceHostname
- the value for theinstanceHostname
record componentcreatedAt
- the value for thecreatedAt
record componentipAddresses
- the value for theipAddresses
record componentidentityType
- the value for theidentityType
record componentclusterType
- the value for theclusterType
record componentztsUrl
- the value for theztsUrl
record componentserviceIdentity
- the value for theserviceIdentity
record componentunknownAttributes
- the value for theunknownAttributes
record component
-
-
Method Details
-
signature
Returns the value of thesignature
record component.- Returns:
- the value of the
signature
record component
-
signingKeyVersion
public int signingKeyVersion()Returns the value of thesigningKeyVersion
record component.- Returns:
- the value of the
signingKeyVersion
record component
-
providerUniqueId
Returns the value of theproviderUniqueId
record component.- Returns:
- the value of the
providerUniqueId
record component
-
providerService
Returns the value of theproviderService
record component.- Returns:
- the value of the
providerService
record component
-
documentVersion
public int documentVersion()Returns the value of thedocumentVersion
record component.- Specified by:
documentVersion
in interfaceSignedIdentityDocumentEntity
- Returns:
- the value of the
documentVersion
record component
-
configServerHostname
Returns the value of theconfigServerHostname
record component.- Returns:
- the value of the
configServerHostname
record component
-
instanceHostname
Returns the value of theinstanceHostname
record component.- Returns:
- the value of the
instanceHostname
record component
-
createdAt
Returns the value of thecreatedAt
record component.- Returns:
- the value of the
createdAt
record component
-
ipAddresses
Returns the value of theipAddresses
record component.- Returns:
- the value of the
ipAddresses
record component
-
identityType
Returns the value of theidentityType
record component.- Returns:
- the value of the
identityType
record component
-
clusterType
Returns the value of theclusterType
record component.- Returns:
- the value of the
clusterType
record component
-
ztsUrl
Returns the value of theztsUrl
record component.- Returns:
- the value of the
ztsUrl
record component
-
serviceIdentity
Returns the value of theserviceIdentity
record component.- Returns:
- the value of the
serviceIdentity
record component
-
unknownAttributes
Returns the value of theunknownAttributes
record component.- Returns:
- the value of the
unknownAttributes
record component
-
set
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='.
-