Class RawCertificateData

java.lang.Object
com.azure.resourcemanager.recoveryservices.models.RawCertificateData

public final class RawCertificateData extends Object
Raw certificate data.
  • Constructor Details

    • RawCertificateData

      public RawCertificateData()
  • Method Details

    • authType

      public AuthType authType()
      Get the authType property: Specifies the authentication type.
      Returns:
      the authType value.
    • withAuthType

      public RawCertificateData withAuthType(AuthType authType)
      Set the authType property: Specifies the authentication type.
      Parameters:
      authType - the authType value to set.
      Returns:
      the RawCertificateData object itself.
    • certificate

      public byte[] certificate()
      Get the certificate property: The base64 encoded certificate raw data string.
      Returns:
      the certificate value.
    • withCertificate

      public RawCertificateData withCertificate(byte[] certificate)
      Set the certificate property: The base64 encoded certificate raw data string.
      Parameters:
      certificate - the certificate value to set.
      Returns:
      the RawCertificateData object itself.
    • validate

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