Class CommunityGalleryInfo

java.lang.Object
com.azure.resourcemanager.compute.models.CommunityGalleryInfo

public final class CommunityGalleryInfo extends Object
Information of community gallery if current gallery is shared to community.
  • Constructor Details

    • CommunityGalleryInfo

      public CommunityGalleryInfo()
  • Method Details

    • publisherUri

      public String publisherUri()
      Get the publisherUri property: The link to the publisher website. Visible to all users.
      Returns:
      the publisherUri value.
    • withPublisherUri

      public CommunityGalleryInfo withPublisherUri(String publisherUri)
      Set the publisherUri property: The link to the publisher website. Visible to all users.
      Parameters:
      publisherUri - the publisherUri value to set.
      Returns:
      the CommunityGalleryInfo object itself.
    • publisherContact

      public String publisherContact()
      Get the publisherContact property: Community gallery publisher support email. The email address of the publisher. Visible to all users.
      Returns:
      the publisherContact value.
    • withPublisherContact

      public CommunityGalleryInfo withPublisherContact(String publisherContact)
      Set the publisherContact property: Community gallery publisher support email. The email address of the publisher. Visible to all users.
      Parameters:
      publisherContact - the publisherContact value to set.
      Returns:
      the CommunityGalleryInfo object itself.
    • eula

      public String eula()
      Get the eula property: End-user license agreement for community gallery image.
      Returns:
      the eula value.
    • withEula

      public CommunityGalleryInfo withEula(String eula)
      Set the eula property: End-user license agreement for community gallery image.
      Parameters:
      eula - the eula value to set.
      Returns:
      the CommunityGalleryInfo object itself.
    • publicNamePrefix

      public String publicNamePrefix()
      Get the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly. Visible to all users.
      Returns:
      the publicNamePrefix value.
    • withPublicNamePrefix

      public CommunityGalleryInfo withPublicNamePrefix(String publicNamePrefix)
      Set the publicNamePrefix property: The prefix of the gallery name that will be displayed publicly. Visible to all users.
      Parameters:
      publicNamePrefix - the publicNamePrefix value to set.
      Returns:
      the CommunityGalleryInfo object itself.
    • communityGalleryEnabled

      public Boolean communityGalleryEnabled()
      Get the communityGalleryEnabled property: Contains info about whether community gallery sharing is enabled.
      Returns:
      the communityGalleryEnabled value.
    • publicNames

      public List<String> publicNames()
      Get the publicNames property: Community gallery public name list.
      Returns:
      the publicNames value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.