Class DedicatedHostInstanceView

    • Constructor Detail

      • DedicatedHostInstanceView

        public DedicatedHostInstanceView()
    • Method Detail

      • assetId

        public String assetId()
        Get the assetId property: Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
        Returns:
        the assetId value.
      • availableCapacity

        public DedicatedHostAvailableCapacity availableCapacity()
        Get the availableCapacity property: Unutilized capacity of the dedicated host.
        Returns:
        the availableCapacity value.
      • withAvailableCapacity

        public DedicatedHostInstanceView withAvailableCapacity​(DedicatedHostAvailableCapacity availableCapacity)
        Set the availableCapacity property: Unutilized capacity of the dedicated host.
        Parameters:
        availableCapacity - the availableCapacity value to set.
        Returns:
        the DedicatedHostInstanceView object itself.
      • statuses

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

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

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