Class BastionHostListResult

java.lang.Object
com.azure.resourcemanager.network.models.BastionHostListResult

public final class BastionHostListResult extends Object
Response for ListBastionHosts API service call.
  • Constructor Details

    • BastionHostListResult

      public BastionHostListResult()
      Creates an instance of BastionHostListResult class.
  • Method Details

    • 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.