Class Certificate
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.Certificate
-
public final class Certificate extends Object
The Certificate model.
-
-
Constructor Summary
Constructors Constructor Description Certificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringpem()Get the pem property: PEM formatted public key.voidvalidate()Validates the instance.CertificatewithPem(String pem)Set the pem property: PEM formatted public key.
-
-
-
Method Detail
-
pem
public String pem()
Get the pem property: PEM formatted public key.- Returns:
- the pem value.
-
withPem
public Certificate withPem(String pem)
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.
-
-