Class ExitCodeRangeMapping
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.ExitCodeRangeMapping
-
public class ExitCodeRangeMapping extends Object
A range of exit codes and how the Batch service should respond to exit codes within that range.
-
-
Constructor Summary
Constructors Constructor Description ExitCodeRangeMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
end()
Get the end value.ExitOptions
exitOptions()
Get the exitOptions value.int
start()
Get the start value.ExitCodeRangeMapping
withEnd(int end)
Set the end value.ExitCodeRangeMapping
withExitOptions(ExitOptions exitOptions)
Set the exitOptions value.ExitCodeRangeMapping
withStart(int start)
Set the start value.
-
-
-
Method Detail
-
start
public int start()
Get the start value.- Returns:
- the start value
-
withStart
public ExitCodeRangeMapping withStart(int start)
Set the start value.- Parameters:
start
- the start value to set- Returns:
- the ExitCodeRangeMapping object itself.
-
end
public int end()
Get the end value.- Returns:
- the end value
-
withEnd
public ExitCodeRangeMapping withEnd(int end)
Set the end value.- Parameters:
end
- the end value to set- Returns:
- the ExitCodeRangeMapping object itself.
-
exitOptions
public ExitOptions exitOptions()
Get the exitOptions value.- Returns:
- the exitOptions value
-
withExitOptions
public ExitCodeRangeMapping withExitOptions(ExitOptions exitOptions)
Set the exitOptions value.- Parameters:
exitOptions
- the exitOptions value to set- Returns:
- the ExitCodeRangeMapping object itself.
-
-