Class AcsRouterWorkerSelector
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsRouterWorkerSelector
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsRouterWorkerSelector>
public final class AcsRouterWorkerSelector
extends Object
implements com.azure.json.JsonSerializable<AcsRouterWorkerSelector>
Router Job Worker Selector.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AcsRouterWorkerSelectorfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsRouterWorkerSelector from the JsonReader.Get the expirationTime property: Router Job Worker Selector Expiration Time.getKey()Get the key property: Router Job Worker Selector Key.Get the labelOperator property: Router Job Worker Selector Label Operator.com.azure.core.util.BinaryDataGet the labelValue property: Router Job Worker Selector Value.getState()Get the state property: Router Job Worker Selector State.Get the timeToLive property: Router Job Worker Selector Time to Live in Seconds.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getKey
Get the key property: Router Job Worker Selector Key.- Returns:
- the key value.
-
getLabelOperator
Get the labelOperator property: Router Job Worker Selector Label Operator.- Returns:
- the labelOperator value.
-
getLabelValue
public com.azure.core.util.BinaryData getLabelValue()Get the labelValue property: Router Job Worker Selector Value.- Returns:
- the labelValue value.
-
getTimeToLive
Get the timeToLive property: Router Job Worker Selector Time to Live in Seconds.- Returns:
- the timeToLive value.
-
getState
Get the state property: Router Job Worker Selector State.- Returns:
- the state value.
-
getExpirationTime
Get the expirationTime property: Router Job Worker Selector Expiration Time.- Returns:
- the expirationTime value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsRouterWorkerSelector>- Throws:
IOException
-
fromJson
public static AcsRouterWorkerSelector fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsRouterWorkerSelector from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsRouterWorkerSelector if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AcsRouterWorkerSelector.
-