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