Class BastionHostListResult
- java.lang.Object
-
- com.azure.resourcemanager.network.models.BastionHostListResult
-
public final class BastionHostListResult extends Object
Response for ListBastionHosts API service call.
-
-
Constructor Summary
Constructors Constructor Description BastionHostListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextLink()Get the nextLink property: URL to get the next set of results.voidvalidate()Validates the instance.List<BastionHostInner>value()Get the value property: List of Bastion Hosts in a resource group.BastionHostListResultwithNextLink(String nextLink)Set the nextLink property: URL to get the next set of results.BastionHostListResultwithValue(List<BastionHostInner> value)Set the value property: List of Bastion Hosts in a resource group.
-
-
-
Method Detail
-
value
public List<BastionHostInner> value()
Get the value property: List of Bastion Hosts in a resource group.- Returns:
- the value value.
-
withValue
public BastionHostListResult withValue(List<BastionHostInner> value)
Set the value property: List of Bastion Hosts in a resource group.- Parameters:
value- the value value to set.- Returns:
- the BastionHostListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: URL to get the next set of results.- Returns:
- the nextLink value.
-
withNextLink
public BastionHostListResult withNextLink(String nextLink)
Set the nextLink property: URL to get the next set of results.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the BastionHostListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-