CommunityGalleryImageIdentifier Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CommunityGalleryImageIdentifier
- com.
Implements
public final class CommunityGalleryImageIdentifier
implements JsonSerializable<CommunityGalleryImageIdentifier>
This is the community gallery image definition identifier.
Constructor Summary
Constructor | Description |
---|---|
CommunityGalleryImageIdentifier() |
Creates an instance of Community |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Community |
fromJson(JsonReader jsonReader)
Reads an instance of Community |
String |
offer()
Get the offer property: The name of the gallery image definition offer. |
String |
publisher()
Get the publisher property: The name of the gallery image definition publisher. |
String |
sku()
Get the sku property: The name of the gallery image definition SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Community |
withOffer(String offer)
Set the offer property: The name of the gallery image definition offer. |
Community |
withPublisher(String publisher)
Set the publisher property: The name of the gallery image definition publisher. |
Community |
withSku(String sku)
Set the sku property: The name of the gallery image definition SKU. |
Methods inherited from java.lang.Object
Constructor Details
CommunityGalleryImageIdentifier
public CommunityGalleryImageIdentifier()
Creates an instance of CommunityGalleryImageIdentifier class.
Method Details
fromJson
public static CommunityGalleryImageIdentifier fromJson(JsonReader jsonReader)
Reads an instance of CommunityGalleryImageIdentifier from the JsonReader.
Parameters:
Returns:
Throws:
offer
public String offer()
Get the offer property: The name of the gallery image definition offer.
Returns:
publisher
public String publisher()
Get the publisher property: The name of the gallery image definition publisher.
Returns:
sku
public String sku()
Get the sku property: The name of the gallery image definition SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOffer
public CommunityGalleryImageIdentifier withOffer(String offer)
Set the offer property: The name of the gallery image definition offer.
Parameters:
Returns:
withPublisher
public CommunityGalleryImageIdentifier withPublisher(String publisher)
Set the publisher property: The name of the gallery image definition publisher.
Parameters:
Returns:
withSku
public CommunityGalleryImageIdentifier withSku(String sku)
Set the sku property: The name of the gallery image definition SKU.
Parameters:
Returns: