public final class VMHostUpdateRequest extends Object
Constructor and Description |
---|
VMHostUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
VMHostUpdateStates |
state()
Get the state property: Specifies the state of the operation - install/ delete.
|
void |
validate()
Validates the instance.
|
List<VMResourcesInner> |
vmResourceIds()
Get the vmResourceIds property: Request of a list vm host update operation.
|
VMHostUpdateRequest |
withState(VMHostUpdateStates state)
Set the state property: Specifies the state of the operation - install/ delete.
|
VMHostUpdateRequest |
withVmResourceIds(List<VMResourcesInner> vmResourceIds)
Set the vmResourceIds property: Request of a list vm host update operation.
|
public List<VMResourcesInner> vmResourceIds()
public VMHostUpdateRequest withVmResourceIds(List<VMResourcesInner> vmResourceIds)
vmResourceIds
- the vmResourceIds value to set.public VMHostUpdateStates state()
public VMHostUpdateRequest withState(VMHostUpdateStates state)
state
- the state value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.