Class SslCertificate

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class SslCertificate extends Artifact implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • SslCertificate

      public SslCertificate()
      Instantiates a new SslCertificate and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SslCertificate createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a SslCertificate
    • getExpirationDateTime

      @Nullable public OffsetDateTime getExpirationDateTime()
      Gets the expirationDateTime property value. The date and time when a certificate expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Artifact
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFingerprint

      @Nullable public String getFingerprint()
      Gets the fingerprint property value. A hash of the certificate calculated on the data and signature.
      Returns:
      a String
    • getFirstSeenDateTime

      @Nullable public OffsetDateTime getFirstSeenDateTime()
      Gets the firstSeenDateTime property value. The first date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getIssueDateTime

      @Nullable public OffsetDateTime getIssueDateTime()
      Gets the issueDateTime property value. The date and time when a certificate was issued. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getIssuer

      @Nullable public SslCertificateEntity getIssuer()
      Gets the issuer property value. The entity that grants this certificate.
      Returns:
      a SslCertificateEntity
    • getLastSeenDateTime

      @Nullable public OffsetDateTime getLastSeenDateTime()
      Gets the lastSeenDateTime property value. The most recent date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getRelatedHosts

      @Nullable public List<Host> getRelatedHosts()
      Gets the relatedHosts property value. The host resources related with this sslCertificate.
      Returns:
      a List<Host>
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Gets the serialNumber property value. The serial number associated with an SSL certificate.
      Returns:
      a String
    • getSha1

      @Nullable public String getSha1()
      Gets the sha1 property value. A SHA-1 hash of the certificate. Note: This is not the signature.
      Returns:
      a String
    • getSubject

      @Nullable public SslCertificateEntity getSubject()
      Gets the subject property value. The person, site, machine, and so on, this certificate is for.
      Returns:
      a SslCertificateEntity
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Artifact
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setExpirationDateTime

      public void setExpirationDateTime(@Nullable OffsetDateTime value)
      Sets the expirationDateTime property value. The date and time when a certificate expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the expirationDateTime property.
    • setFingerprint

      public void setFingerprint(@Nullable String value)
      Sets the fingerprint property value. A hash of the certificate calculated on the data and signature.
      Parameters:
      value - Value to set for the fingerprint property.
    • setFirstSeenDateTime

      public void setFirstSeenDateTime(@Nullable OffsetDateTime value)
      Sets the firstSeenDateTime property value. The first date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the firstSeenDateTime property.
    • setIssueDateTime

      public void setIssueDateTime(@Nullable OffsetDateTime value)
      Sets the issueDateTime property value. The date and time when a certificate was issued. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the issueDateTime property.
    • setIssuer

      public void setIssuer(@Nullable SslCertificateEntity value)
      Sets the issuer property value. The entity that grants this certificate.
      Parameters:
      value - Value to set for the issuer property.
    • setLastSeenDateTime

      public void setLastSeenDateTime(@Nullable OffsetDateTime value)
      Sets the lastSeenDateTime property value. The most recent date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the lastSeenDateTime property.
    • setRelatedHosts

      public void setRelatedHosts(@Nullable List<Host> value)
      Sets the relatedHosts property value. The host resources related with this sslCertificate.
      Parameters:
      value - Value to set for the relatedHosts property.
    • setSerialNumber

      public void setSerialNumber(@Nullable String value)
      Sets the serialNumber property value. The serial number associated with an SSL certificate.
      Parameters:
      value - Value to set for the serialNumber property.
    • setSha1

      public void setSha1(@Nullable String value)
      Sets the sha1 property value. A SHA-1 hash of the certificate. Note: This is not the signature.
      Parameters:
      value - Value to set for the sha1 property.
    • setSubject

      public void setSubject(@Nullable SslCertificateEntity value)
      Sets the subject property value. The person, site, machine, and so on, this certificate is for.
      Parameters:
      value - Value to set for the subject property.