Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerinstance;
import com.fasterxml.jackson.annotation.JsonProperty;
The cached image and OS type.
/**
* The cached image and OS type.
*/
public class CachedImages {
The OS type of the cached image.
/**
* The OS type of the cached image.
*/
@JsonProperty(value = "osType", required = true)
private String osType;
The cached image name.
/**
* The cached image name.
*/
@JsonProperty(value = "image", required = true)
private String image;
Get the OS type of the cached image.
Returns: the osType value
/**
* Get the OS type of the cached image.
*
* @return the osType value
*/
public String osType() {
return this.osType;
}
Set the OS type of the cached image.
Params: - osType – the osType value to set
Returns: the CachedImages object itself.
/**
* Set the OS type of the cached image.
*
* @param osType the osType value to set
* @return the CachedImages object itself.
*/
public CachedImages withOsType(String osType) {
this.osType = osType;
return this;
}
Get the cached image name.
Returns: the image value
/**
* Get the cached image name.
*
* @return the image value
*/
public String image() {
return this.image;
}
Set the cached image name.
Params: - image – the image value to set
Returns: the CachedImages object itself.
/**
* Set the cached image name.
*
* @param image the image value to set
* @return the CachedImages object itself.
*/
public CachedImages withImage(String image) {
this.image = image;
return this;
}
}