Class LoadBalancerListResult

java.lang.Object
com.azure.resourcemanager.network.models.LoadBalancerListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<LoadBalancerListResult>

public final class LoadBalancerListResult extends Object implements com.azure.json.JsonSerializable<LoadBalancerListResult>
Response for ListLoadBalancers API service call.
  • Constructor Details

    • LoadBalancerListResult

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

    • value

      public List<LoadBalancerInner> value()
      Get the value property: A list of load balancers in a resource group.
      Returns:
      the value value.
    • withValue

      public LoadBalancerListResult withValue(List<LoadBalancerInner> value)
      Set the value property: A list of load balancers in a resource group.
      Parameters:
      value - the value value to set.
      Returns:
      the LoadBalancerListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URL to get the next set of results.
      Returns:
      the nextLink value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<LoadBalancerListResult>
      Throws:
      IOException
    • fromJson

      public static LoadBalancerListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LoadBalancerListResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LoadBalancerListResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the LoadBalancerListResult.