PirResource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirResource
- com.
Implements
public class PirResource
implements JsonSerializable<PirResource>
The Resource model definition.
Constructor Summary
Constructor | Description |
---|---|
PirResource() |
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) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
PirResource
public PirResource()
Creates an instance of PirResource class.
Method Details
fromJson
public static PirResource fromJson(JsonReader jsonReader)
Reads an instance of PirResource 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
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java