ExitCodeRangeMapping Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ExitCodeRangeMapping
- com.
public class ExitCodeRangeMapping
A range of exit codes and how the Batch service should respond to exit codes within that range.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
end()
Get the end value. |
Exit |
exitOptions()
Get the exitOptions value. |
int |
start()
Get the start value. |
Exit |
withEnd(int end)
Set the end value. |
Exit |
withExitOptions(ExitOptions exitOptions)
Set the exitOptions value. |
Exit |
withStart(int start)
Set the start value. |
Method Details
end
public int end()
Get the end value.
Returns:
exitOptions
public ExitOptions exitOptions()
Get the exitOptions value.
Returns:
start
public int start()
Get the start value.
Returns:
withEnd
public ExitCodeRangeMapping withEnd(int end)
Set the end value.
Parameters:
Returns:
withExitOptions
public ExitCodeRangeMapping withExitOptions(ExitOptions exitOptions)
Set the exitOptions value.
Parameters:
Returns:
withStart
public ExitCodeRangeMapping withStart(int start)
Set the start value.
Parameters:
Returns:
Applies to
Azure SDK for Java