OSVersionInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. OSVersionInner
- com.
Implements
public final class OSVersionInner
implements JsonSerializable<OSVersionInner>
Describes a cloud service OS version.
Constructor Summary
Constructor | Description |
---|---|
OSVersionInner() |
Creates an instance of OSVersion |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
OSVersion |
fromJson(JsonReader jsonReader)
Reads an instance of OSVersion |
String |
id()
Get the id property: Resource Id. |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
OSVersion |
properties()
Get the properties property: OS version properties. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
OSVersion |
withProperties(OSVersionProperties properties)
Set the properties property: OS version properties. |
Methods inherited from java.lang.Object
Constructor Details
OSVersionInner
public OSVersionInner()
Creates an instance of OSVersionInner class.
Method Details
fromJson
public static OSVersionInner fromJson(JsonReader jsonReader)
Reads an instance of OSVersionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
location
public String location()
Get the location property: Resource location.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
properties
public OSVersionProperties properties()
Get the properties property: OS version properties.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withProperties
public OSVersionInner withProperties(OSVersionProperties properties)
Set the properties property: OS version properties.
Parameters:
Returns:
Applies to
Azure SDK for Java