public final class DedicatedHostInstanceView extends Object
Constructor and Description |
---|
DedicatedHostInstanceView() |
Modifier and Type | Method and Description |
---|---|
String |
assetId()
Get the assetId property: Specifies the unique id of the dedicated physical machine on which the dedicated host
resides.
|
DedicatedHostAvailableCapacity |
availableCapacity()
Get the availableCapacity property: Unutilized capacity of the dedicated host.
|
List<InstanceViewStatus> |
statuses()
Get the statuses property: The resource status information.
|
void |
validate()
Validates the instance.
|
DedicatedHostInstanceView |
withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity)
Set the availableCapacity property: Unutilized capacity of the dedicated host.
|
DedicatedHostInstanceView |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information.
|
public String assetId()
public DedicatedHostAvailableCapacity availableCapacity()
public DedicatedHostInstanceView withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity)
availableCapacity
- the availableCapacity value to set.public List<InstanceViewStatus> statuses()
public DedicatedHostInstanceView withStatuses(List<InstanceViewStatus> statuses)
statuses
- the statuses value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.