Class VMHostUpdateRequest
java.lang.Object
com.azure.resourcemanager.logz.models.VMHostUpdateRequest
Request of a list VM Host Update Operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstate()
Get the state property: Specifies the state of the operation - install/ delete.void
validate()
Validates the instance.Get the vmResourceIds property: Request of a list vm host update operation.withState
(VMHostUpdateStates state) Set the state property: Specifies the state of the operation - install/ delete.withVmResourceIds
(List<VMResourcesInner> vmResourceIds) Set the vmResourceIds property: Request of a list vm host update operation.
-
Constructor Details
-
VMHostUpdateRequest
public VMHostUpdateRequest()Creates an instance of VMHostUpdateRequest class.
-
-
Method Details
-
vmResourceIds
Get the vmResourceIds property: Request of a list vm host update operation.- Returns:
- the vmResourceIds value.
-
withVmResourceIds
Set the vmResourceIds property: Request of a list vm host update operation.- Parameters:
vmResourceIds
- the vmResourceIds value to set.- Returns:
- the VMHostUpdateRequest object itself.
-
state
Get the state property: Specifies the state of the operation - install/ delete.- Returns:
- the state value.
-
withState
Set the state property: Specifies the state of the operation - install/ delete.- Parameters:
state
- the state value to set.- Returns:
- the VMHostUpdateRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-