Class MetadataSupport
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.MetadataSupport
-
public final class MetadataSupport extends Object
Support information for the content item.
-
-
Constructor Summary
Constructors Constructor Description MetadataSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
email()
Get the email property: Email of support contact.String
link()
Get the link property: Link for support help, like to support page to open a ticket etc.String
name()
Get the name property: Name of the support contact.SupportTier
tier()
Get the tier property: Type of support for content item.void
validate()
Validates the instance.MetadataSupport
withEmail(String email)
Set the email property: Email of support contact.MetadataSupport
withLink(String link)
Set the link property: Link for support help, like to support page to open a ticket etc.MetadataSupport
withName(String name)
Set the name property: Name of the support contact.MetadataSupport
withTier(SupportTier tier)
Set the tier property: Type of support for content item.
-
-
-
Method Detail
-
tier
public SupportTier tier()
Get the tier property: Type of support for content item.- Returns:
- the tier value.
-
withTier
public MetadataSupport withTier(SupportTier tier)
Set the tier property: Type of support for content item.- Parameters:
tier
- the tier value to set.- Returns:
- the MetadataSupport object itself.
-
name
public String name()
Get the name property: Name of the support contact. Company or person.- Returns:
- the name value.
-
withName
public MetadataSupport withName(String name)
Set the name property: Name of the support contact. Company or person.- Parameters:
name
- the name value to set.- Returns:
- the MetadataSupport object itself.
-
email
public String email()
Get the email property: Email of support contact.- Returns:
- the email value.
-
withEmail
public MetadataSupport withEmail(String email)
Set the email property: Email of support contact.- Parameters:
email
- the email value to set.- Returns:
- the MetadataSupport object itself.
-
link
public String link()
Get the link property: Link for support help, like to support page to open a ticket etc.- Returns:
- the link value.
-
withLink
public MetadataSupport withLink(String link)
Set the link property: Link for support help, like to support page to open a ticket etc.- Parameters:
link
- the link value to set.- Returns:
- the MetadataSupport object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-