Class RootCertificateProperties
java.lang.Object
com.azure.resourcemanager.iothub.models.RootCertificateProperties
This property store root certificate related information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the enableRootCertificateV2 property: This property when set to true, hub will use G2 cert; while it's set to false, hub uses Baltimore Cert.Get the lastUpdatedTimeUtc property: the last update time to root certificate flag.void
validate()
Validates the instance.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.
-
Constructor Details
-
RootCertificateProperties
public RootCertificateProperties()
-
-
Method Details
-
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
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
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.
-