Class SslCertificate
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.Artifact
com.microsoft.graph.models.security.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SslCertificatecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the expirationDateTime property value.The deserialization information for the current modelGets the fingerprint property value.Gets the firstSeenDateTime property value.Gets the issueDateTime property value.Gets the issuer property value.Gets the lastSeenDateTime property value.Gets the relatedHosts property value.Gets the serialNumber property value.getSha1()Gets the sha1 property value.Gets the subject property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the expirationDateTime property value.voidsetFingerprint(String value) Sets the fingerprint property value.voidSets the firstSeenDateTime property value.voidsetIssueDateTime(OffsetDateTime value) Sets the issueDateTime property value.voidsetIssuer(SslCertificateEntity value) Sets the issuer property value.voidSets the lastSeenDateTime property value.voidsetRelatedHosts(List<Host> value) Sets the relatedHosts property value.voidsetSerialNumber(String value) Sets the serialNumber property value.voidSets the sha1 property value.voidsetSubject(SslCertificateEntity value) Sets the subject property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SslCertificate
public SslCertificate()Instantiates a newSslCertificateand 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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classArtifact- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFingerprint
Gets the fingerprint property value. A hash of the certificate calculated on the data and signature.- Returns:
- a
String
-
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
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
Gets the issuer property value. The entity that grants this certificate.- Returns:
- a
SslCertificateEntity
-
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
Gets the relatedHosts property value. The host resources related with this sslCertificate. -
getSerialNumber
Gets the serialNumber property value. The serial number associated with an SSL certificate.- Returns:
- a
String
-
getSha1
Gets the sha1 property value. A SHA-1 hash of the certificate. Note: This is not the signature.- Returns:
- a
String
-
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 -
setExpirationDateTime
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
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
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
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
Sets the issuer property value. The entity that grants this certificate.- Parameters:
value- Value to set for the issuer property.
-
setLastSeenDateTime
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
Sets the relatedHosts property value. The host resources related with this sslCertificate.- Parameters:
value- Value to set for the relatedHosts property.
-
setSerialNumber
Sets the serialNumber property value. The serial number associated with an SSL certificate.- Parameters:
value- Value to set for the serialNumber property.
-
setSha1
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
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.
-