public final class GalleryImageReference extends Object
Constructor and Description |
---|
GalleryImageReference() |
Modifier and Type | Method and Description |
---|---|
String |
offer()
Get the offer property: The offer of the gallery image.
|
String |
osType()
Get the osType property: The OS type of the gallery image.
|
String |
publisher()
Get the publisher property: The publisher of the gallery image.
|
String |
sku()
Get the sku property: The SKU of the gallery image.
|
void |
validate()
Validates the instance.
|
String |
version()
Get the version property: The version of the gallery image.
|
GalleryImageReference |
withOffer(String offer)
Set the offer property: The offer of the gallery image.
|
GalleryImageReference |
withOsType(String osType)
Set the osType property: The OS type of the gallery image.
|
GalleryImageReference |
withPublisher(String publisher)
Set the publisher property: The publisher of the gallery image.
|
GalleryImageReference |
withSku(String sku)
Set the sku property: The SKU of the gallery image.
|
GalleryImageReference |
withVersion(String version)
Set the version property: The version of the gallery image.
|
public String offer()
public GalleryImageReference withOffer(String offer)
offer
- the offer value to set.public String publisher()
public GalleryImageReference withPublisher(String publisher)
publisher
- the publisher value to set.public String sku()
public GalleryImageReference withSku(String sku)
sku
- the sku value to set.public String osType()
public GalleryImageReference withOsType(String osType)
osType
- the osType value to set.public String version()
public GalleryImageReference withVersion(String version)
version
- the version value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.