DedicatedHostGroupInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DedicatedHostGroupInstanceView
- com.
Implements
public final class DedicatedHostGroupInstanceView
implements JsonSerializable<DedicatedHostGroupInstanceView>
The DedicatedHostGroupInstanceView model.
Constructor Summary
Constructor | Description |
---|---|
DedicatedHostGroupInstanceView() |
Creates an instance of Dedicated |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Dedicated |
fromJson(JsonReader jsonReader)
Reads an instance of Dedicated |
List<Dedicated |
hosts()
Get the hosts property: List of instance view of the dedicated hosts under the dedicated host group. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Dedicated |
withHosts(List<DedicatedHostInstanceViewWithName> hosts)
Set the hosts property: List of instance view of the dedicated hosts under the dedicated host group. |
Methods inherited from java.lang.Object
Constructor Details
DedicatedHostGroupInstanceView
public DedicatedHostGroupInstanceView()
Creates an instance of DedicatedHostGroupInstanceView class.
Method Details
fromJson
public static DedicatedHostGroupInstanceView fromJson(JsonReader jsonReader)
Reads an instance of DedicatedHostGroupInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
hosts
public List
Get the hosts property: List of instance view of the dedicated hosts under the dedicated host group.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHosts
public DedicatedHostGroupInstanceView withHosts(List
Set the hosts property: List of instance view of the dedicated hosts under the dedicated host group.
Parameters:
Returns:
Applies to
Azure SDK for Java