GalleryImageReference Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.models.GalleryImageReference

public final class GalleryImageReference

The reference information for an Azure Marketplace image.

Constructor Summary

Constructor Description
GalleryImageReference()

Creates an instance of GalleryImageReference class.

Method Summary

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.

Methods inherited from java.lang.Object

Constructor Details

GalleryImageReference

public GalleryImageReference()

Creates an instance of GalleryImageReference class.

Method Details

offer

public String offer()

Get the offer property: The offer of the gallery image.

Returns:

the offer value.

osType

public String osType()

Get the osType property: The OS type of the gallery image.

Returns:

the osType value.

publisher

public String publisher()

Get the publisher property: The publisher of the gallery image.

Returns:

the publisher value.

sku

public String sku()

Get the sku property: The SKU of the gallery image.

Returns:

the sku value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The version of the gallery image.

Returns:

the version value.

withOffer

public GalleryImageReference withOffer(String offer)

Set the offer property: 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 osType property: 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 property: 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 property: 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 property: The version of the gallery image.

Parameters:

version - the version value to set.

Returns:

the GalleryImageReference object itself.

Applies to