PublisherInfo Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. PublisherInfo
- com.
public final class PublisherInfo
Represents the publisher information of a process/rule.
Constructor Summary
Constructor | Description |
---|---|
PublisherInfo() |
Creates an instance of Publisher |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
binaryName()
Get the binary |
String |
productName()
Get the product |
String |
publisherName()
Get the publisher |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: The binary file version taken from the file's version resource. |
Publisher |
withBinaryName(String binaryName)
Set the binary |
Publisher |
withProductName(String productName)
Set the product |
Publisher |
withPublisherName(String publisherName)
Set the publisher |
Publisher |
withVersion(String version)
Set the version property: The binary file version taken from the file's version resource. |
Methods inherited from java.lang.Object
Constructor Details
PublisherInfo
public PublisherInfo()
Creates an instance of PublisherInfo class.
Method Details
binaryName
public String binaryName()
Get the binaryName property: The "OriginalName" field taken from the file's version resource.
Returns:
productName
public String productName()
Get the productName property: The product name taken from the file's version resource.
Returns:
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:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: The binary file version taken from the file's version resource.
Returns:
withBinaryName
public PublisherInfo withBinaryName(String binaryName)
Set the binaryName property: The "OriginalName" field taken from the file's version resource.
Parameters:
Returns:
withProductName
public PublisherInfo withProductName(String productName)
Set the productName property: The product name taken from the file's version resource.
Parameters:
Returns:
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:
Returns:
withVersion
public PublisherInfo withVersion(String version)
Set the version property: The binary file version taken from the file's version resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for