Class CertificateCreateOrUpdateParameters

java.lang.Object
com.azure.resourcemanager.automation.models.CertificateCreateOrUpdateParameters

public final class CertificateCreateOrUpdateParameters extends Object
The parameters supplied to the create or update or replace certificate operation.
  • Constructor Details

    • CertificateCreateOrUpdateParameters

      public CertificateCreateOrUpdateParameters()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the certificate.
      Returns:
      the name value.
    • withName

      Set the name property: Gets or sets the name of the certificate.
      Parameters:
      name - the name value to set.
      Returns:
      the CertificateCreateOrUpdateParameters object itself.
    • base64Value

      public String base64Value()
      Get the base64Value property: Gets or sets the base64 encoded value of the certificate.
      Returns:
      the base64Value value.
    • withBase64Value

      public CertificateCreateOrUpdateParameters withBase64Value(String base64Value)
      Set the base64Value property: Gets or sets the base64 encoded value of the certificate.
      Parameters:
      base64Value - the base64Value value to set.
      Returns:
      the CertificateCreateOrUpdateParameters object itself.
    • description

      public String description()
      Get the description property: Gets or sets the description of the certificate.
      Returns:
      the description value.
    • withDescription

      public CertificateCreateOrUpdateParameters withDescription(String description)
      Set the description property: Gets or sets the description of the certificate.
      Parameters:
      description - the description value to set.
      Returns:
      the CertificateCreateOrUpdateParameters object itself.
    • thumbprint

      public String thumbprint()
      Get the thumbprint property: Gets or sets the thumbprint of the certificate.
      Returns:
      the thumbprint value.
    • withThumbprint

      public CertificateCreateOrUpdateParameters withThumbprint(String thumbprint)
      Set the thumbprint property: Gets or sets the thumbprint of the certificate.
      Parameters:
      thumbprint - the thumbprint value to set.
      Returns:
      the CertificateCreateOrUpdateParameters object itself.
    • isExportable

      public Boolean isExportable()
      Get the isExportable property: Gets or sets the is exportable flag of the certificate.
      Returns:
      the isExportable value.
    • withIsExportable

      public CertificateCreateOrUpdateParameters withIsExportable(Boolean isExportable)
      Set the isExportable property: Gets or sets the is exportable flag of the certificate.
      Parameters:
      isExportable - the isExportable value to set.
      Returns:
      the CertificateCreateOrUpdateParameters object itself.
    • validate

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