Class Certificate

java.lang.Object
com.azure.resourcemanager.cosmos.models.Certificate

public final class Certificate extends Object
The Certificate model.
  • Constructor Details

    • Certificate

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

    • 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.