PirCommunityGalleryResource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirCommunityGalleryResource
- com.
Implements
public class PirCommunityGalleryResource
implements JsonSerializable<PirCommunityGalleryResource>
Base information about the community gallery resource in azure compute gallery.
Constructor Summary
Constructor | Description |
---|---|
PirCommunityGalleryResource() |
Creates an instance of Pir |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Pir |
fromJson(JsonReader jsonReader)
Reads an instance of Pir |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
String |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Pir |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from java.lang.Object
Constructor Details
PirCommunityGalleryResource
public PirCommunityGalleryResource()
Creates an instance of PirCommunityGalleryResource class.
Method Details
fromJson
public static PirCommunityGalleryResource fromJson(JsonReader jsonReader)
Reads an instance of PirCommunityGalleryResource from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Resource location.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this community gallery.
Returns:
validate
public void validate()
Validates the instance.
withUniqueId
public PirCommunityGalleryResource withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this community gallery.
Parameters:
Returns:
Applies to
Azure SDK for Java