Class GalleryImageInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.GalleryImageInner

public final class GalleryImageInner extends com.azure.core.management.Resource
A gallery image.
  • Constructor Details

    • GalleryImageInner

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

    • withLocation

      public GalleryImageInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public GalleryImageInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • author

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

      public GalleryImageInner withAuthor(String author)
      Set the author property: The author of the gallery image.
      Parameters:
      author - the author value to set.
      Returns:
      the GalleryImageInner 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 GalleryImageInner withDescription(String description)
      Set the description property: The description of the gallery image.
      Parameters:
      description - the description value to set.
      Returns:
      the GalleryImageInner object itself.
    • imageReference

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

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

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

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

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

      public GalleryImageInner withEnabled(Boolean enabled)
      Set the enabled property: Indicates whether this gallery image is enabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner 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 GalleryImageInner object itself.
    • validate

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