PlatformAttribute Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PlatformAttribute
- com.
Implements
public final class PlatformAttribute
implements JsonSerializable<PlatformAttribute>
This is the platform attribute of the image version.
Constructor Summary
Constructor | Description |
---|---|
PlatformAttribute() |
Creates an instance of Platform |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Platform |
fromJson(JsonReader jsonReader)
Reads an instance of Platform |
String |
name()
Get the name property: This property specifies the name of the platform |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: This property specifies the value of the corresponding name property. |
Methods inherited from java.lang.Object
Constructor Details
PlatformAttribute
public PlatformAttribute()
Creates an instance of PlatformAttribute class.
Method Details
fromJson
public static PlatformAttribute fromJson(JsonReader jsonReader)
Reads an instance of PlatformAttribute from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: This property specifies the name of the platformAttribute. It is read-only.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: This property specifies the value of the corresponding name property. It is read-only.
Returns:
Applies to
Azure SDK for Java