Class VirtualMachineAgentInstanceView


  • public final class VirtualMachineAgentInstanceView
    extends Object
    The instance view of the VM Agent running on the virtual machine.
    • Constructor Detail

      • VirtualMachineAgentInstanceView

        public VirtualMachineAgentInstanceView()
    • Method Detail

      • vmAgentVersion

        public String vmAgentVersion()
        Get the vmAgentVersion property: The VM Agent full version.
        Returns:
        the vmAgentVersion value.
      • withVmAgentVersion

        public VirtualMachineAgentInstanceView withVmAgentVersion​(String vmAgentVersion)
        Set the vmAgentVersion property: The VM Agent full version.
        Parameters:
        vmAgentVersion - the vmAgentVersion value to set.
        Returns:
        the VirtualMachineAgentInstanceView object itself.
      • statuses

        public List<InstanceViewStatus> statuses()
        Get the statuses property: The resource status information.
        Returns:
        the statuses value.
      • withStatuses

        public VirtualMachineAgentInstanceView withStatuses​(List<InstanceViewStatus> statuses)
        Set the statuses property: The resource status information.
        Parameters:
        statuses - the statuses value to set.
        Returns:
        the VirtualMachineAgentInstanceView object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.