Class UploadCertificateRequest

java.lang.Object
com.azure.resourcemanager.databoxedge.models.UploadCertificateRequest

public final class UploadCertificateRequest extends Object
The upload certificate request.
  • Constructor Details

    • UploadCertificateRequest

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

    • authenticationType

      public AuthenticationType authenticationType()
      Get the authenticationType property: The authentication type.
      Returns:
      the authenticationType value.
    • withAuthenticationType

      public UploadCertificateRequest withAuthenticationType(AuthenticationType authenticationType)
      Set the authenticationType property: The authentication type.
      Parameters:
      authenticationType - the authenticationType value to set.
      Returns:
      the UploadCertificateRequest object itself.
    • certificate

      public String certificate()
      Get the certificate property: The base64 encoded certificate raw data.
      Returns:
      the certificate value.
    • withCertificate

      public UploadCertificateRequest withCertificate(String certificate)
      Set the certificate property: The base64 encoded certificate raw data.
      Parameters:
      certificate - the certificate value to set.
      Returns:
      the UploadCertificateRequest object itself.
    • validate

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