GalleryImageReference Class

  • java.lang.Object
    • com.microsoft.azure.management.labservices.v2018_10_15.GalleryImageReference

public class GalleryImageReference

The reference information for an Azure Marketplace image.

Constructor Summary

Constructor Description
GalleryImageReference()

Method Summary

Modifier and Type Method and Description
java.lang.String offer()

Get the offer of the gallery image.

java.lang.String osType()

Get the OS type of the gallery image.

java.lang.String publisher()

Get the publisher of the gallery image.

java.lang.String sku()

Get the SKU of the gallery image.

java.lang.String version()

Get the version of the gallery image.

GalleryImageReference withOffer(String offer)

Set the offer of the gallery image.

GalleryImageReference withOsType(String osType)

Set the OS type of the gallery image.

GalleryImageReference withPublisher(String publisher)

Set the publisher of the gallery image.

GalleryImageReference withSku(String sku)

Set the SKU of the gallery image.

GalleryImageReference withVersion(String version)

Set the version of the gallery image.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

GalleryImageReference

public GalleryImageReference()

Method Details

offer

public String offer()

Get the offer of the gallery image.

Returns:

the offer value

osType

public String osType()

Get the OS type of the gallery image.

Returns:

the osType value

publisher

public String publisher()

Get the publisher of the gallery image.

Returns:

the publisher value

sku

public String sku()

Get the SKU of the gallery image.

Returns:

the sku value

version

public String version()

Get the version of the gallery image.

Returns:

the version value

withOffer

public GalleryImageReference withOffer(String offer)

Set the offer of the gallery image.

Parameters:

offer - the offer value to set

Returns:

the GalleryImageReference object itself.

withOsType

public GalleryImageReference withOsType(String osType)

Set the OS type of the gallery image.

Parameters:

osType - the osType value to set

Returns:

the GalleryImageReference object itself.

withPublisher

public GalleryImageReference withPublisher(String publisher)

Set the publisher of the gallery image.

Parameters:

publisher - the publisher value to set

Returns:

the GalleryImageReference object itself.

withSku

public GalleryImageReference withSku(String sku)

Set the SKU of the gallery image.

Parameters:

sku - the sku value to set

Returns:

the GalleryImageReference object itself.

withVersion

public GalleryImageReference withVersion(String version)

Set the version of the gallery image.

Parameters:

version - the version value to set

Returns:

the GalleryImageReference object itself.

Applies to