Class MetadataAuthor
java.lang.Object
com.azure.resourcemanager.securityinsights.models.MetadataAuthor
Publisher or creator of the content item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemail()
Get the email property: Email of author contact.link()
Get the link property: Link for author/vendor page.name()
Get the name property: Name of the author.void
validate()
Validates the instance.Set the email property: Email of author contact.Set the link property: Link for author/vendor page.Set the name property: Name of the author.
-
Constructor Details
-
MetadataAuthor
public MetadataAuthor()
-
-
Method Details
-
name
Get the name property: Name of the author. Company or person.- Returns:
- the name value.
-
withName
Set the name property: Name of the author. Company or person.- Parameters:
name
- the name value to set.- Returns:
- the MetadataAuthor object itself.
-
email
Get the email property: Email of author contact.- Returns:
- the email value.
-
withEmail
Set the email property: Email of author contact.- Parameters:
email
- the email value to set.- Returns:
- the MetadataAuthor object itself.
-
link
Get the link property: Link for author/vendor page.- Returns:
- the link value.
-
withLink
Set the link property: Link for author/vendor page.- Parameters:
link
- the link value to set.- Returns:
- the MetadataAuthor object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-