Class MetadataAuthor
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.MetadataAuthor
-
public final class MetadataAuthor extends Object
Publisher or creator of the content item.
-
-
Constructor Summary
Constructors Constructor Description MetadataAuthor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
email()
Get the email property: Email of author contact.String
link()
Get the link property: Link for author/vendor page.String
name()
Get the name property: Name of the author.void
validate()
Validates the instance.MetadataAuthor
withEmail(String email)
Set the email property: Email of author contact.MetadataAuthor
withLink(String link)
Set the link property: Link for author/vendor page.MetadataAuthor
withName(String name)
Set the name property: Name of the author.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the author. Company or person.- Returns:
- the name value.
-
withName
public MetadataAuthor withName(String name)
Set the name property: Name of the author. Company or person.- Parameters:
name
- the name value to set.- Returns:
- the MetadataAuthor object itself.
-
email
public String email()
Get the email property: Email of author contact.- Returns:
- the email value.
-
withEmail
public MetadataAuthor withEmail(String email)
Set the email property: Email of author contact.- Parameters:
email
- the email value to set.- Returns:
- the MetadataAuthor object itself.
-
link
public String link()
Get the link property: Link for author/vendor page.- Returns:
- the link value.
-
withLink
public MetadataAuthor withLink(String link)
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.
-
-