Class AcsRouterJobSchedulingFailedEventData


public final class AcsRouterJobSchedulingFailedEventData extends AcsRouterJobEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobSchedulingFailed event.
  • Constructor Details

    • AcsRouterJobSchedulingFailedEventData

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

    • getPriority

      public Integer getPriority()
      Get the priority property: Router Job Priority.
      Returns:
      the priority value.
    • setPriority

      public AcsRouterJobSchedulingFailedEventData setPriority(Integer priority)
      Set the priority property: Router Job Priority.
      Parameters:
      priority - the priority value to set.
      Returns:
      the AcsRouterJobSchedulingFailedEventData object itself.
    • getExpiredAttachedWorkerSelectors

      public List<AcsRouterWorkerSelector> getExpiredAttachedWorkerSelectors()
      Get the expiredAttachedWorkerSelectors property: Router Job Scheduling Failed Attached Worker Selector Expired.
      Returns:
      the expiredAttachedWorkerSelectors value.
    • setExpiredAttachedWorkerSelectors

      public AcsRouterJobSchedulingFailedEventData setExpiredAttachedWorkerSelectors(List<AcsRouterWorkerSelector> expiredAttachedWorkerSelectors)
      Set the expiredAttachedWorkerSelectors property: Router Job Scheduling Failed Attached Worker Selector Expired.
      Parameters:
      expiredAttachedWorkerSelectors - the expiredAttachedWorkerSelectors value to set.
      Returns:
      the AcsRouterJobSchedulingFailedEventData object itself.
    • getExpiredRequestedWorkerSelectors

      public List<AcsRouterWorkerSelector> getExpiredRequestedWorkerSelectors()
      Get the expiredRequestedWorkerSelectors property: Router Job Scheduling Failed Requested Worker Selector Expired.
      Returns:
      the expiredRequestedWorkerSelectors value.
    • setExpiredRequestedWorkerSelectors

      public AcsRouterJobSchedulingFailedEventData setExpiredRequestedWorkerSelectors(List<AcsRouterWorkerSelector> expiredRequestedWorkerSelectors)
      Set the expiredRequestedWorkerSelectors property: Router Job Scheduling Failed Requested Worker Selector Expired.
      Parameters:
      expiredRequestedWorkerSelectors - the expiredRequestedWorkerSelectors value to set.
      Returns:
      the AcsRouterJobSchedulingFailedEventData object itself.
    • getScheduledOn

      public OffsetDateTime getScheduledOn()
      Get the scheduledOn property: Router Job Scheduling Failed Scheduled Time in UTC.
      Returns:
      the scheduledOn value.
    • setScheduledOn

      public AcsRouterJobSchedulingFailedEventData setScheduledOn(OffsetDateTime scheduledOn)
      Set the scheduledOn property: Router Job Scheduling Failed Scheduled Time in UTC.
      Parameters:
      scheduledOn - the scheduledOn value to set.
      Returns:
      the AcsRouterJobSchedulingFailedEventData object itself.
    • getFailureReason

      public String getFailureReason()
      Get the failureReason property: Router Job Scheduling Failed Reason.
      Returns:
      the failureReason value.
    • setFailureReason

      public AcsRouterJobSchedulingFailedEventData setFailureReason(String failureReason)
      Set the failureReason property: Router Job Scheduling Failed Reason.
      Parameters:
      failureReason - the failureReason value to set.
      Returns:
      the AcsRouterJobSchedulingFailedEventData object itself.
    • setQueueId

      public AcsRouterJobSchedulingFailedEventData setQueueId(String queueId)
      Set the queueId property: Router Job events Queue Id.
      Overrides:
      setQueueId in class AcsRouterJobEventData
      Parameters:
      queueId - the queueId value to set.
      Returns:
      the AcsRouterJobEventData object itself.
    • setLabels

      Set the labels property: Router Job events Labels.
      Overrides:
      setLabels in class AcsRouterJobEventData
      Parameters:
      labels - the labels value to set.
      Returns:
      the AcsRouterJobEventData object itself.
    • setTags

      Set the tags property: Router Jobs events Tags.
      Overrides:
      setTags in class AcsRouterJobEventData
      Parameters:
      tags - the tags value to set.
      Returns:
      the AcsRouterJobEventData object itself.
    • setJobId

      Set the jobId property: Router Event Job ID.
      Overrides:
      setJobId in class AcsRouterJobEventData
      Parameters:
      jobId - the jobId value to set.
      Returns:
      the AcsRouterEventData object itself.
    • setChannelReference

      public AcsRouterJobSchedulingFailedEventData setChannelReference(String channelReference)
      Set the channelReference property: Router Event Channel Reference.
      Overrides:
      setChannelReference in class AcsRouterJobEventData
      Parameters:
      channelReference - the channelReference value to set.
      Returns:
      the AcsRouterEventData object itself.
    • setChannelId

      public AcsRouterJobSchedulingFailedEventData setChannelId(String channelId)
      Set the channelId property: Router Event Channel ID.
      Overrides:
      setChannelId in class AcsRouterJobEventData
      Parameters:
      channelId - the channelId value to set.
      Returns:
      the AcsRouterEventData object itself.