Record Class EndpointCertificateRequest
java.lang.Object
java.lang.Record
com.yahoo.vespa.hosted.controller.api.integration.certificates.EndpointCertificateRequest
- Record Components:
createTime- ISO 8601
public record EndpointCertificateRequest(String requestId, String requestor, String ticketId, String athenzDomain, List<EndpointCertificateRequest.DnsNameStatus> dnsNames, long durationSec, String status, String createTime, long expiry, String issuer, String publicKeyAlgo)
extends Record
This class is used for details about an application's endpoint certificate received from the certificate provider.
- Author:
- andreer
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEndpointCertificateRequest(String requestId, String requestor, String ticketId, String athenzDomain, List<EndpointCertificateRequest.DnsNameStatus> dnsNames, long durationSec, String status, String createTime, long expiry, String issuer, String publicKeyAlgo) Creates an instance of aEndpointCertificateRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theathenzDomainrecord component.Returns the value of thecreateTimerecord component.dnsNames()Returns the value of thednsNamesrecord component.longReturns the value of thedurationSecrecord component.final booleanIndicates whether some other object is "equal to" this one.longexpiry()Returns the value of theexpiryrecord component.final inthashCode()Returns a hash code value for this object.issuer()Returns the value of theissuerrecord component.Returns the value of thepublicKeyAlgorecord component.Returns the value of therequestIdrecord component.Returns the value of therequestorrecord component.status()Returns the value of thestatusrecord component.ticketId()Returns the value of theticketIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EndpointCertificateRequest
public EndpointCertificateRequest(String requestId, String requestor, String ticketId, String athenzDomain, List<EndpointCertificateRequest.DnsNameStatus> dnsNames, long durationSec, String status, String createTime, long expiry, String issuer, String publicKeyAlgo) Creates an instance of aEndpointCertificateRequestrecord class.- Parameters:
requestId- the value for therequestIdrecord componentrequestor- the value for therequestorrecord componentticketId- the value for theticketIdrecord componentathenzDomain- the value for theathenzDomainrecord componentdnsNames- the value for thednsNamesrecord componentdurationSec- the value for thedurationSecrecord componentstatus- the value for thestatusrecord componentcreateTime- the value for thecreateTimerecord componentexpiry- the value for theexpiryrecord componentissuer- the value for theissuerrecord componentpublicKeyAlgo- the value for thepublicKeyAlgorecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
requestor
Returns the value of therequestorrecord component.- Returns:
- the value of the
requestorrecord component
-
ticketId
Returns the value of theticketIdrecord component.- Returns:
- the value of the
ticketIdrecord component
-
athenzDomain
Returns the value of theathenzDomainrecord component.- Returns:
- the value of the
athenzDomainrecord component
-
dnsNames
Returns the value of thednsNamesrecord component.- Returns:
- the value of the
dnsNamesrecord component
-
durationSec
public long durationSec()Returns the value of thedurationSecrecord component.- Returns:
- the value of the
durationSecrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
createTime
Returns the value of thecreateTimerecord component.- Returns:
- the value of the
createTimerecord component
-
expiry
public long expiry()Returns the value of theexpiryrecord component.- Returns:
- the value of the
expiryrecord component
-
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
publicKeyAlgo
Returns the value of thepublicKeyAlgorecord component.- Returns:
- the value of the
publicKeyAlgorecord component
-