Class MicrosoftGraphCertificateAuthority

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCertificateAuthority

public final class MicrosoftGraphCertificateAuthority extends Object
certificateAuthority.
  • Constructor Details

    • MicrosoftGraphCertificateAuthority

      public MicrosoftGraphCertificateAuthority()
      Creates an instance of MicrosoftGraphCertificateAuthority class.
  • Method Details

    • certificate

      public byte[] certificate()
      Get the certificate property: Required. The base64 encoded string representing the public certificate.
      Returns:
      the certificate value.
    • withCertificate

      public MicrosoftGraphCertificateAuthority withCertificate(byte[] certificate)
      Set the certificate property: Required. The base64 encoded string representing the public certificate.
      Parameters:
      certificate - the certificate value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • certificateRevocationListUrl

      public String certificateRevocationListUrl()
      Get the certificateRevocationListUrl property: The URL of the certificate revocation list.
      Returns:
      the certificateRevocationListUrl value.
    • withCertificateRevocationListUrl

      public MicrosoftGraphCertificateAuthority withCertificateRevocationListUrl(String certificateRevocationListUrl)
      Set the certificateRevocationListUrl property: The URL of the certificate revocation list.
      Parameters:
      certificateRevocationListUrl - the certificateRevocationListUrl value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • deltaCertificateRevocationListUrl

      public String deltaCertificateRevocationListUrl()
      Get the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.
      Returns:
      the deltaCertificateRevocationListUrl value.
    • withDeltaCertificateRevocationListUrl

      public MicrosoftGraphCertificateAuthority withDeltaCertificateRevocationListUrl(String deltaCertificateRevocationListUrl)
      Set the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.
      Parameters:
      deltaCertificateRevocationListUrl - the deltaCertificateRevocationListUrl value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • isRootAuthority

      public Boolean isRootAuthority()
      Get the isRootAuthority property: Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority.
      Returns:
      the isRootAuthority value.
    • withIsRootAuthority

      public MicrosoftGraphCertificateAuthority withIsRootAuthority(Boolean isRootAuthority)
      Set the isRootAuthority property: Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority.
      Parameters:
      isRootAuthority - the isRootAuthority value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • issuer

      public String issuer()
      Get the issuer property: The issuer of the certificate, calculated from the certificate value. Read-only.
      Returns:
      the issuer value.
    • withIssuer

      public MicrosoftGraphCertificateAuthority withIssuer(String issuer)
      Set the issuer property: The issuer of the certificate, calculated from the certificate value. Read-only.
      Parameters:
      issuer - the issuer value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • issuerSki

      public String issuerSki()
      Get the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value. Read-only.
      Returns:
      the issuerSki value.
    • withIssuerSki

      public MicrosoftGraphCertificateAuthority withIssuerSki(String issuerSki)
      Set the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value. Read-only.
      Parameters:
      issuerSki - the issuerSki value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: certificateAuthority.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphCertificateAuthority withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: certificateAuthority.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphCertificateAuthority object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.