Class DedicatedHostGroupInstanceView
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DedicatedHostGroupInstanceView
-
public final class DedicatedHostGroupInstanceView extends Object
The DedicatedHostGroupInstanceView model.
-
-
Constructor Summary
Constructors Constructor Description DedicatedHostGroupInstanceView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DedicatedHostInstanceViewWithName>hosts()Get the hosts property: List of instance view of the dedicated hosts under the dedicated host group.voidvalidate()Validates the instance.DedicatedHostGroupInstanceViewwithHosts(List<DedicatedHostInstanceViewWithName> hosts)Set the hosts property: List of instance view of the dedicated hosts under the dedicated host group.
-
-
-
Method Detail
-
hosts
public List<DedicatedHostInstanceViewWithName> hosts()
Get the hosts property: List of instance view of the dedicated hosts under the dedicated host group.- Returns:
- the hosts value.
-
withHosts
public DedicatedHostGroupInstanceView withHosts(List<DedicatedHostInstanceViewWithName> hosts)
Set the hosts property: List of instance view of the dedicated hosts under the dedicated host group.- Parameters:
hosts- the hosts value to set.- Returns:
- the DedicatedHostGroupInstanceView object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-