Class DedicatedHostListResult
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DedicatedHostListResult
-
public final class DedicatedHostListResult extends Object
The list dedicated host operation response.
-
-
Constructor Summary
Constructors Constructor Description DedicatedHostListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextLink()Get the nextLink property: The URI to fetch the next page of dedicated hosts.voidvalidate()Validates the instance.List<DedicatedHostInner>value()Get the value property: The list of dedicated hosts.DedicatedHostListResultwithNextLink(String nextLink)Set the nextLink property: The URI to fetch the next page of dedicated hosts.DedicatedHostListResultwithValue(List<DedicatedHostInner> value)Set the value property: The list of dedicated hosts.
-
-
-
Method Detail
-
value
public List<DedicatedHostInner> value()
Get the value property: The list of dedicated hosts.- Returns:
- the value value.
-
withValue
public DedicatedHostListResult withValue(List<DedicatedHostInner> value)
Set the value property: The list of dedicated hosts.- Parameters:
value- the value value to set.- Returns:
- the DedicatedHostListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts.- Returns:
- the nextLink value.
-
withNextLink
public DedicatedHostListResult withNextLink(String nextLink)
Set the nextLink property: The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the DedicatedHostListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-