Class CommunityGalleryMetadata
java.lang.Object
com.azure.resourcemanager.compute.models.CommunityGalleryMetadata
The metadata of community gallery.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CommunityGalleryMetadata class. -
Method Summary
Modifier and TypeMethodDescriptioneula()Get the eula property: The end-user license agreement for this community gallery.Get the privacyStatementUri property: The link for the privacy statement of this community gallery from the gallery publisher.Get the publicNames property: A list of public names the gallery has.Get the publisherContact property: The publisher email id of this community gallery.Get the publisherUri property: The publisher URI of this community gallery.voidvalidate()Validates the instance.Set the eula property: The end-user license agreement for this community gallery.withPrivacyStatementUri(String privacyStatementUri) Set the privacyStatementUri property: The link for the privacy statement of this community gallery from the gallery publisher.withPublicNames(List<String> publicNames) Set the publicNames property: A list of public names the gallery has.withPublisherContact(String publisherContact) Set the publisherContact property: The publisher email id of this community gallery.withPublisherUri(String publisherUri) Set the publisherUri property: The publisher URI of this community gallery.
-
Constructor Details
-
CommunityGalleryMetadata
public CommunityGalleryMetadata()Creates an instance of CommunityGalleryMetadata class.
-
-
Method Details
-
publisherUri
Get the publisherUri property: The publisher URI of this community gallery.- Returns:
- the publisherUri value.
-
withPublisherUri
Set the publisherUri property: The publisher URI of this community gallery.- Parameters:
publisherUri- the publisherUri value to set.- Returns:
- the CommunityGalleryMetadata object itself.
-
publisherContact
Get the publisherContact property: The publisher email id of this community gallery.- Returns:
- the publisherContact value.
-
withPublisherContact
Set the publisherContact property: The publisher email id of this community gallery.- Parameters:
publisherContact- the publisherContact value to set.- Returns:
- the CommunityGalleryMetadata object itself.
-
eula
Get the eula property: The end-user license agreement for this community gallery.- Returns:
- the eula value.
-
withEula
Set the eula property: The end-user license agreement for this community gallery.- Parameters:
eula- the eula value to set.- Returns:
- the CommunityGalleryMetadata object itself.
-
publicNames
Get the publicNames property: A list of public names the gallery has.- Returns:
- the publicNames value.
-
withPublicNames
Set the publicNames property: A list of public names the gallery has.- Parameters:
publicNames- the publicNames value to set.- Returns:
- the CommunityGalleryMetadata object itself.
-
privacyStatementUri
Get the privacyStatementUri property: The link for the privacy statement of this community gallery from the gallery publisher.- Returns:
- the privacyStatementUri value.
-
withPrivacyStatementUri
Set the privacyStatementUri property: The link for the privacy statement of this community gallery from the gallery publisher.- Parameters:
privacyStatementUri- the privacyStatementUri value to set.- Returns:
- the CommunityGalleryMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-