Class AcsRouterChannelConfiguration

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterChannelConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterChannelConfiguration>

public final class AcsRouterChannelConfiguration extends Object implements com.azure.json.JsonSerializable<AcsRouterChannelConfiguration>
Router Channel Configuration.
  • Method Details

    • getChannelId

      public String getChannelId()
      Get the channelId property: Channel ID for Router Job.
      Returns:
      the channelId value.
    • getCapacityCostPerJob

      public Integer getCapacityCostPerJob()
      Get the capacityCostPerJob property: Capacity Cost Per Job for Router Job.
      Returns:
      the capacityCostPerJob value.
    • getMaxNumberOfJobs

      public Integer getMaxNumberOfJobs()
      Get the maxNumberOfJobs property: Max Number of Jobs for Router Job.
      Returns:
      the maxNumberOfJobs value.
    • toJson

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

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