BatchTaskIdRange Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskIdRange
- com.
Implements
public final class BatchTaskIdRange
implements JsonSerializable<BatchTaskIdRange>
The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents Tasks '9', '10', '11' and '12'.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchTaskIdRange(int start, int end) |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| int |
getEnd()
Get the end property: The last Task ID in the range. |
| int |
getStart()
Get the start property: The first Task ID in the range. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchTaskIdRange
public BatchTaskIdRange(int start, int end)
Creates an instance of BatchTaskIdRange class.
Parameters:
Method Details
fromJson
public static BatchTaskIdRange fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskIdRange from the JsonReader.
Parameters:
Returns:
Throws:
getEnd
public int getEnd()
Get the end property: The last Task ID in the range.
Returns:
getStart
public int getStart()
Get the start property: The first Task ID in the range.
Returns: