Class PublisherInfo
java.lang.Object
com.azure.resourcemanager.security.models.PublisherInfo
Represents the publisher information of a process/rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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
validate()
Validates the instance.version()
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.withVersion
(String version) Set the version property: The binary file version taken from the file's version resource.
-
Constructor Details
-
PublisherInfo
public PublisherInfo()
-
-
Method Details
-
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
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
Get the productName property: The product name taken from the file's version resource.- Returns:
- the productName value.
-
withProductName
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
Get the binaryName property: The "OriginalName" field taken from the file's version resource.- Returns:
- the binaryName value.
-
withBinaryName
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
Get the version property: The binary file version taken from the file's version resource.- Returns:
- the version value.
-
withVersion
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.
-