Class Certificate
java.lang.Object
com.azure.resourcemanager.cosmos.models.Certificate
The Certificate model.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Certificate
public Certificate()Creates an instance of Certificate class.
-
-
Method Details
-
pem
Get the pem property: PEM formatted public key.- Returns:
- the pem value.
-
withPem
Set the pem property: PEM formatted public key.- Parameters:
pem- the pem value to set.- Returns:
- the Certificate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-