Class OSVersionInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.OSVersionInner
-
public final class OSVersionInner extends Object
Describes a cloud service OS version.
-
-
Constructor Summary
Constructors Constructor Description OSVersionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource Id.Stringlocation()Get the location property: Resource location.Stringname()Get the name property: Resource name.OSVersionPropertiesproperties()Get the properties property: OS version properties.Stringtype()Get the type property: Resource type.voidvalidate()Validates the instance.OSVersionInnerwithProperties(OSVersionProperties properties)Set the properties property: OS version properties.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource Id.- Returns:
- the id value.
-
name
public String name()
Get the name property: Resource name.- Returns:
- the name value.
-
type
public String type()
Get the type property: Resource type.- Returns:
- the type value.
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
properties
public OSVersionProperties properties()
Get the properties property: OS version properties.- Returns:
- the properties value.
-
withProperties
public OSVersionInner withProperties(OSVersionProperties properties)
Set the properties property: OS version properties.- Parameters:
properties- the properties value to set.- Returns:
- the OSVersionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-