Class GalleryImageReference
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.GalleryImageReference
The reference information for an Azure Marketplace image.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionoffer()
Get the offer property: The offer of the gallery image.osType()
Get the osType property: The OS type of the gallery image.Get the publisher property: The publisher of the gallery image.sku()
Get the sku property: The SKU of the gallery image.void
validate()
Validates the instance.version()
Get the version property: The version of the gallery image.Set the offer property: The offer of the gallery image.withOsType
(String osType) Set the osType property: The OS type of the gallery image.withPublisher
(String publisher) Set the publisher property: The publisher of the gallery image.Set the sku property: The SKU of the gallery image.withVersion
(String version) Set the version property: The version of the gallery image.
-
Constructor Details
-
GalleryImageReference
public GalleryImageReference()Creates an instance of GalleryImageReference class.
-
-
Method Details
-
offer
Get the offer property: The offer of the gallery image.- Returns:
- the offer value.
-
withOffer
Set the offer property: The offer of the gallery image.- Parameters:
offer
- the offer value to set.- Returns:
- the GalleryImageReference object itself.
-
publisher
Get the publisher property: The publisher of the gallery image.- Returns:
- the publisher value.
-
withPublisher
Set the publisher property: The publisher of the gallery image.- Parameters:
publisher
- the publisher value to set.- Returns:
- the GalleryImageReference object itself.
-
sku
Get the sku property: The SKU of the gallery image.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU of the gallery image.- Parameters:
sku
- the sku value to set.- Returns:
- the GalleryImageReference object itself.
-
osType
Get the osType property: The OS type of the gallery image.- Returns:
- the osType value.
-
withOsType
Set the osType property: The OS type of the gallery image.- Parameters:
osType
- the osType value to set.- Returns:
- the GalleryImageReference object itself.
-
version
Get the version property: The version of the gallery image.- Returns:
- the version value.
-
withVersion
Set the version property: The version of the gallery image.- Parameters:
version
- the version value to set.- Returns:
- the GalleryImageReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-