Class CachedImages
java.lang.Object
com.azure.resourcemanager.containerinstance.models.CachedImages
The cached image and OS type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimage()Get the image property: The cached image name.osType()Get the osType property: The OS type of the cached image.voidvalidate()Validates the instance.Set the image property: The cached image name.withOsType(String osType) Set the osType property: The OS type of the cached image.
-
Constructor Details
-
CachedImages
public CachedImages()
-
-
Method Details
-
osType
Get the osType property: The OS type of the cached image.- Returns:
- the osType value.
-
withOsType
Set the osType property: The OS type of the cached image.- Parameters:
osType- the osType value to set.- Returns:
- the CachedImages object itself.
-
image
Get the image property: The cached image name.- Returns:
- the image value.
-
withImage
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.
-