Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.compute; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
The instance view of a dedicated host.
/** * The instance view of a dedicated host. */
public class DedicatedHostInstanceView {
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
/** * Specifies the unique id of the dedicated physical machine on which the * dedicated host resides. */
@JsonProperty(value = "assetId", access = JsonProperty.Access.WRITE_ONLY) private String assetId;
Unutilized capacity of the dedicated host.
/** * Unutilized capacity of the dedicated host. */
@JsonProperty(value = "availableCapacity") private DedicatedHostAvailableCapacity availableCapacity;
The resource status information.
/** * The resource status information. */
@JsonProperty(value = "statuses") private List<InstanceViewStatus> statuses;
Get specifies the unique id of the dedicated physical machine on which the dedicated host resides.
Returns:the assetId value
/** * Get specifies the unique id of the dedicated physical machine on which the dedicated host resides. * * @return the assetId value */
public String assetId() { return this.assetId; }
Get unutilized capacity of the dedicated host.
Returns:the availableCapacity value
/** * Get unutilized capacity of the dedicated host. * * @return the availableCapacity value */
public DedicatedHostAvailableCapacity availableCapacity() { return this.availableCapacity; }
Set unutilized capacity of the dedicated host.
Params:
  • availableCapacity – the availableCapacity value to set
Returns:the DedicatedHostInstanceView object itself.
/** * Set unutilized capacity of the dedicated host. * * @param availableCapacity the availableCapacity value to set * @return the DedicatedHostInstanceView object itself. */
public DedicatedHostInstanceView withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity) { this.availableCapacity = availableCapacity; return this; }
Get the resource status information.
Returns:the statuses value
/** * Get the resource status information. * * @return the statuses value */
public List<InstanceViewStatus> statuses() { return this.statuses; }
Set the resource status information.
Params:
  • statuses – the statuses value to set
Returns:the DedicatedHostInstanceView object itself.
/** * Set the resource status information. * * @param statuses the statuses value to set * @return the DedicatedHostInstanceView object itself. */
public DedicatedHostInstanceView withStatuses(List<InstanceViewStatus> statuses) { this.statuses = statuses; return this; } }