Class CachedImages
- java.lang.Object
-
- com.azure.resourcemanager.containerinstance.models.CachedImages
-
public final class CachedImages extends Object
The cached image and OS type.
-
-
Constructor Summary
Constructors Constructor Description CachedImages()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringimage()Get the image property: The cached image name.StringosType()Get the osType property: The OS type of the cached image.voidvalidate()Validates the instance.CachedImageswithImage(String image)Set the image property: The cached image name.CachedImageswithOsType(String osType)Set the osType property: The OS type of the cached image.
-
-
-
Method Detail
-
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.
-
-