Class ImageReference
- java.lang.Object
-
- com.microsoft.azure.management.batch.ImageReference
-
public class ImageReference extends Object
A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
-
-
Constructor Summary
Constructors Constructor Description ImageReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id value.Stringoffer()Get the offer value.Stringpublisher()Get the publisher value.Stringsku()Get the sku value.Stringversion()Get the version value.ImageReferencewithId(String id)Set the id value.ImageReferencewithOffer(String offer)Set the offer value.ImageReferencewithPublisher(String publisher)Set the publisher value.ImageReferencewithSku(String sku)Set the sku value.ImageReferencewithVersion(String version)Set the version value.
-
-
-
Method Detail
-
publisher
public String publisher()
Get the publisher value.- Returns:
- the publisher value
-
withPublisher
public ImageReference withPublisher(String publisher)
Set the publisher value.- Parameters:
publisher- the publisher value to set- Returns:
- the ImageReference object itself.
-
offer
public String offer()
Get the offer value.- Returns:
- the offer value
-
withOffer
public ImageReference withOffer(String offer)
Set the offer value.- Parameters:
offer- the offer value to set- Returns:
- the ImageReference object itself.
-
sku
public String sku()
Get the sku value.- Returns:
- the sku value
-
withSku
public ImageReference withSku(String sku)
Set the sku value.- Parameters:
sku- the sku value to set- Returns:
- the ImageReference object itself.
-
version
public String version()
Get the version value.- Returns:
- the version value
-
withVersion
public ImageReference withVersion(String version)
Set the version value.- Parameters:
version- the version value to set- Returns:
- the ImageReference object itself.
-
id
public String id()
Get the id value.- Returns:
- the id value
-
withId
public ImageReference withId(String id)
Set the id value.- Parameters:
id- the id value to set- Returns:
- the ImageReference object itself.
-
-