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 DedicatedHostGroupInstanceView model.
/**
* The DedicatedHostGroupInstanceView model.
*/
public class DedicatedHostGroupInstanceView {
List of instance view of the dedicated hosts under the dedicated host
group.
/**
* List of instance view of the dedicated hosts under the dedicated host
* group.
*/
@JsonProperty(value = "hosts")
private List<DedicatedHostInstanceViewWithName> hosts;
Get list of instance view of the dedicated hosts under the dedicated host group.
Returns: the hosts value
/**
* Get list of instance view of the dedicated hosts under the dedicated host group.
*
* @return the hosts value
*/
public List<DedicatedHostInstanceViewWithName> hosts() {
return this.hosts;
}
Set list of instance view of the dedicated hosts under the dedicated host group.
Params: - hosts – the hosts value to set
Returns: the DedicatedHostGroupInstanceView object itself.
/**
* Set list of instance view of the dedicated hosts under the dedicated host group.
*
* @param hosts the hosts value to set
* @return the DedicatedHostGroupInstanceView object itself.
*/
public DedicatedHostGroupInstanceView withHosts(List<DedicatedHostInstanceViewWithName> hosts) {
this.hosts = hosts;
return this;
}
}