Class PublisherInfo

java.lang.Object
com.azure.resourcemanager.security.models.PublisherInfo

public final class PublisherInfo extends Object
Represents the publisher information of a process/rule.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the binaryName property: The "OriginalName" field taken from the file's version resource.
    Get the productName property: The product name taken from the file's version resource.
    Get the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.
    void
    Validates the instance.
    Get the version property: The binary file version taken from the file's version resource.
    withBinaryName(String binaryName)
    Set the binaryName property: The "OriginalName" field taken from the file's version resource.
    withProductName(String productName)
    Set the productName property: The product name taken from the file's version resource.
    withPublisherName(String publisherName)
    Set the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.
    Set the version property: The binary file version taken from the file's version resource.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PublisherInfo

      public PublisherInfo()
  • Method Details

    • publisherName

      public String publisherName()
      Get the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.
      Returns:
      the publisherName value.
    • withPublisherName

      public PublisherInfo withPublisherName(String publisherName)
      Set the publisherName property: The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country.
      Parameters:
      publisherName - the publisherName value to set.
      Returns:
      the PublisherInfo object itself.
    • productName

      public String productName()
      Get the productName property: The product name taken from the file's version resource.
      Returns:
      the productName value.
    • withProductName

      public PublisherInfo withProductName(String productName)
      Set the productName property: The product name taken from the file's version resource.
      Parameters:
      productName - the productName value to set.
      Returns:
      the PublisherInfo object itself.
    • binaryName

      public String binaryName()
      Get the binaryName property: The "OriginalName" field taken from the file's version resource.
      Returns:
      the binaryName value.
    • withBinaryName

      public PublisherInfo withBinaryName(String binaryName)
      Set the binaryName property: The "OriginalName" field taken from the file's version resource.
      Parameters:
      binaryName - the binaryName value to set.
      Returns:
      the PublisherInfo object itself.
    • version

      public String version()
      Get the version property: The binary file version taken from the file's version resource.
      Returns:
      the version value.
    • withVersion

      public PublisherInfo withVersion(String version)
      Set the version property: The binary file version taken from the file's version resource.
      Parameters:
      version - the version value to set.
      Returns:
      the PublisherInfo object itself.
    • validate

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