Class GalleryImageProperties

java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.GalleryImageProperties

public final class GalleryImageProperties extends Object
Properties of a gallery image.
  • Constructor Details

    • GalleryImageProperties

      public GalleryImageProperties()
      Creates an instance of GalleryImageProperties class.
  • Method Details

    • author

      public String author()
      Get the author property: The author of the gallery image.
      Returns:
      the author value.
    • withAuthor

      public GalleryImageProperties withAuthor(String author)
      Set the author property: The author of the gallery image.
      Parameters:
      author - the author value to set.
      Returns:
      the GalleryImageProperties object itself.
    • createdDate

      public OffsetDateTime createdDate()
      Get the createdDate property: The creation date of the gallery image.
      Returns:
      the createdDate value.
    • description

      public String description()
      Get the description property: The description of the gallery image.
      Returns:
      the description value.
    • withDescription

      public GalleryImageProperties withDescription(String description)
      Set the description property: The description of the gallery image.
      Parameters:
      description - the description value to set.
      Returns:
      the GalleryImageProperties object itself.
    • imageReference

      public GalleryImageReference imageReference()
      Get the imageReference property: The image reference of the gallery image.
      Returns:
      the imageReference value.
    • withImageReference

      public GalleryImageProperties withImageReference(GalleryImageReference imageReference)
      Set the imageReference property: The image reference of the gallery image.
      Parameters:
      imageReference - the imageReference value to set.
      Returns:
      the GalleryImageProperties object itself.
    • icon

      public String icon()
      Get the icon property: The icon of the gallery image.
      Returns:
      the icon value.
    • withIcon

      public GalleryImageProperties withIcon(String icon)
      Set the icon property: The icon of the gallery image.
      Parameters:
      icon - the icon value to set.
      Returns:
      the GalleryImageProperties object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Indicates whether this gallery image is enabled.
      Returns:
      the enabled value.
    • withEnabled

      public GalleryImageProperties withEnabled(Boolean enabled)
      Set the enabled property: Indicates whether this gallery image is enabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the GalleryImageProperties object itself.
    • planId

      public String planId()
      Get the planId property: The third party plan that applies to this image.
      Returns:
      the planId value.
    • withPlanId

      public GalleryImageProperties withPlanId(String planId)
      Set the planId property: The third party plan that applies to this image.
      Parameters:
      planId - the planId value to set.
      Returns:
      the GalleryImageProperties object itself.
    • isPlanAuthorized

      public Boolean isPlanAuthorized()
      Get the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.
      Returns:
      the isPlanAuthorized value.
    • withIsPlanAuthorized

      public GalleryImageProperties withIsPlanAuthorized(Boolean isPlanAuthorized)
      Set the isPlanAuthorized property: Indicates if the plan has been authorized for programmatic deployment.
      Parameters:
      isPlanAuthorized - the isPlanAuthorized value to set.
      Returns:
      the GalleryImageProperties object itself.
    • validate

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