Class RootCertificateProperties

java.lang.Object
com.azure.resourcemanager.iothub.models.RootCertificateProperties

public final class RootCertificateProperties extends Object
This property store root certificate related information.
  • Constructor Details

    • RootCertificateProperties

      public RootCertificateProperties()
  • Method Details

    • enableRootCertificateV2

      public Boolean enableRootCertificateV2()
      Get the enableRootCertificateV2 property: This property when set to true, hub will use G2 cert; while it's set to false, hub uses Baltimore Cert.
      Returns:
      the enableRootCertificateV2 value.
    • withEnableRootCertificateV2

      public RootCertificateProperties withEnableRootCertificateV2(Boolean enableRootCertificateV2)
      Set the enableRootCertificateV2 property: This property when set to true, hub will use G2 cert; while it's set to false, hub uses Baltimore Cert.
      Parameters:
      enableRootCertificateV2 - the enableRootCertificateV2 value to set.
      Returns:
      the RootCertificateProperties object itself.
    • lastUpdatedTimeUtc

      public OffsetDateTime lastUpdatedTimeUtc()
      Get the lastUpdatedTimeUtc property: the last update time to root certificate flag.
      Returns:
      the lastUpdatedTimeUtc value.
    • validate

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