ExitCodeRangeMapping Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.ExitCodeRangeMapping

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.

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 Details

end

public int end()

Get the end value.

Returns:

the end value

exitOptions

public ExitOptions exitOptions()

Get the exitOptions value.

Returns:

the exitOptions value

start

public int start()

Get the start value.

Returns:

the start value

withEnd

public ExitCodeRangeMapping withEnd(int end)

Set the end value.

Parameters:

end - the end value to set

Returns:

the ExitCodeRangeMapping object itself.

withExitOptions

public ExitCodeRangeMapping withExitOptions(ExitOptions exitOptions)

Set the exitOptions value.

Parameters:

exitOptions - the exitOptions value to set

Returns:

the ExitCodeRangeMapping object itself.

withStart

public ExitCodeRangeMapping withStart(int start)

Set the start value.

Parameters:

start - the start value to set

Returns:

the ExitCodeRangeMapping object itself.

Applies to