Class AuthorizationRuleListResult

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

public final class AuthorizationRuleListResult extends Object implements com.azure.json.JsonSerializable<AuthorizationRuleListResult>
The response from the List namespace operation.
  • Constructor Details

    • AuthorizationRuleListResult

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

    • value

      public List<AuthorizationRuleInner> value()
      Get the value property: Result of the List Authorization Rules operation.
      Returns:
      the value value.
    • withValue

      Set the value property: Result of the List Authorization Rules operation.
      Parameters:
      value - the value value to set.
      Returns:
      the AuthorizationRuleListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: Link to the next set of results. Not empty if Value contains an incomplete list of Authorization Rules.
      Returns:
      the nextLink value.
    • withNextLink

      public AuthorizationRuleListResult withNextLink(String nextLink)
      Set the nextLink property: Link to the next set of results. Not empty if Value contains an incomplete list of Authorization Rules.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the AuthorizationRuleListResult object itself.
    • 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<AuthorizationRuleListResult>
      Throws:
      IOException
    • fromJson

      public static AuthorizationRuleListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AuthorizationRuleListResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AuthorizationRuleListResult 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 AuthorizationRuleListResult.