GalleryImageReference Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. GalleryImageReference
- com.
Implements
public final class GalleryImageReference
implements JsonSerializable<GalleryImageReference>
The reference information for an Azure Marketplace image.
Constructor Summary
| Constructor | Description |
|---|---|
| GalleryImageReference() |
Creates an instance of Gallery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
| String |
offer()
Get the offer property: The offer of the gallery image. |
| String |
osType()
Get the os |
| String |
publisher()
Get the publisher property: The publisher of the gallery image. |
| String |
sku()
Get the sku property: The SKU of the gallery image. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
version()
Get the version property: The version of the gallery image. |
|
Gallery |
withOffer(String offer)
Set the offer property: The offer of the gallery image. |
|
Gallery |
withOsType(String osType)
Set the os |
|
Gallery |
withPublisher(String publisher)
Set the publisher property: The publisher of the gallery image. |
|
Gallery |
withSku(String sku)
Set the sku property: The SKU of the gallery image. |
|
Gallery |
withVersion(String version)
Set the version property: The version of the gallery image. |
Methods inherited from java.lang.Object
Constructor Details
GalleryImageReference
public GalleryImageReference()
Creates an instance of GalleryImageReference class.
Method Details
fromJson
public static GalleryImageReference fromJson(JsonReader jsonReader)
Reads an instance of GalleryImageReference from the JsonReader.
Parameters:
Returns:
Throws:
offer
public String offer()
Get the offer property: The offer of the gallery image.
Returns:
osType
public String osType()
Get the osType property: The OS type of the gallery image.
Returns:
publisher
public String publisher()
Get the publisher property: The publisher of the gallery image.
Returns:
sku
public String sku()
Get the sku property: The SKU of the gallery image.
Returns:
toJson
version
public String version()
Get the version property: The version of the gallery image.
Returns:
withOffer
public GalleryImageReference withOffer(String offer)
Set the offer property: The offer of the gallery image.
Parameters:
Returns:
withOsType
public GalleryImageReference withOsType(String osType)
Set the osType property: The OS type of the gallery image.
Parameters:
Returns:
withPublisher
public GalleryImageReference withPublisher(String publisher)
Set the publisher property: The publisher of the gallery image.
Parameters:
Returns:
withSku
public GalleryImageReference withSku(String sku)
Set the sku property: The SKU of the gallery image.
Parameters:
Returns:
withVersion
public GalleryImageReference withVersion(String version)
Set the version property: The version of the gallery image.
Parameters:
Returns: