Class AcsRouterWorkerSelector

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerSelector

public final class AcsRouterWorkerSelector extends Object
Router Job Worker Selector.
  • Constructor Details

    • AcsRouterWorkerSelector

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

    • getKey

      public String getKey()
      Get the key property: Router Job Worker Selector Key.
      Returns:
      the key value.
    • setKey

      public AcsRouterWorkerSelector setKey(String key)
      Set the key property: Router Job Worker Selector Key.
      Parameters:
      key - the key value to set.
      Returns:
      the AcsRouterWorkerSelector object itself.
    • getLabelOperator

      public AcsRouterLabelOperator getLabelOperator()
      Get the labelOperator property: Router Job Worker Selector Label Operator.
      Returns:
      the labelOperator value.
    • setLabelOperator

      public AcsRouterWorkerSelector setLabelOperator(AcsRouterLabelOperator labelOperator)
      Set the labelOperator property: Router Job Worker Selector Label Operator.
      Parameters:
      labelOperator - the labelOperator value to set.
      Returns:
      the AcsRouterWorkerSelector object itself.
    • getLabelValue

      public Object getLabelValue()
      Get the labelValue property: Router Job Worker Selector Value.
      Returns:
      the labelValue value.
    • setLabelValue

      public AcsRouterWorkerSelector setLabelValue(Object labelValue)
      Set the labelValue property: Router Job Worker Selector Value.
      Parameters:
      labelValue - the labelValue value to set.
      Returns:
      the AcsRouterWorkerSelector object itself.
    • getTimeToLive

      public Duration getTimeToLive()
      Get the ttlSeconds property: Router Job Worker Selector Time to Live in Seconds.
      Returns:
      the ttlSeconds value.
    • setTimeToLive

      public AcsRouterWorkerSelector setTimeToLive(Duration timeToLive)
      Set the timeToLive property: Router Job Worker Selector Time to Live in Seconds.
      Parameters:
      timeToLive - the timeToLive value to set.
      Returns:
      the AcsRouterWorkerSelector object itself.
    • getState

      public AcsRouterWorkerSelectorState getState()
      Get the state property: Router Job Worker Selector State.
      Returns:
      the state value.
    • setState

      Set the state property: Router Job Worker Selector State.
      Parameters:
      state - the state value to set.
      Returns:
      the AcsRouterWorkerSelector object itself.
    • getExpirationTime

      public OffsetDateTime getExpirationTime()
      Get the expirationTime property: Router Job Worker Selector Expiration Time.
      Returns:
      the expirationTime value.
    • setExpirationTime

      public AcsRouterWorkerSelector setExpirationTime(OffsetDateTime expirationTime)
      Set the expirationTime property: Router Job Worker Selector Expiration Time.
      Parameters:
      expirationTime - the expirationTime value to set.
      Returns:
      the AcsRouterWorkerSelector object itself.