java.lang.Object
com.azure.resourcemanager.containerinstance.models.CachedImages

public final class CachedImages extends Object
The cached image and OS type.
  • Constructor Details

    • CachedImages

      public CachedImages()
  • Method Details

    • osType

      public String osType()
      Get the osType property: The OS type of the cached image.
      Returns:
      the osType value.
    • withOsType

      public CachedImages withOsType(String osType)
      Set the osType property: The OS type of the cached image.
      Parameters:
      osType - the osType value to set.
      Returns:
      the CachedImages object itself.
    • image

      public String image()
      Get the image property: The cached image name.
      Returns:
      the image value.
    • withImage

      public CachedImages withImage(String image)
      Set the image property: The cached image name.
      Parameters:
      image - the image value to set.
      Returns:
      the CachedImages object itself.
    • validate

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