JobTerminateParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobTerminateParameter
- com.
public class JobTerminateParameter
Options when terminating a job.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
terminateReason()
Get the terminateReason value. |
Job |
withTerminateReason(String terminateReason)
Set the terminateReason value. |
Method Details
terminateReason
public String terminateReason()
Get the terminateReason value.
Returns:
the terminateReason value
withTerminateReason
public JobTerminateParameter withTerminateReason(String terminateReason)
Set the terminateReason value.
Parameters:
terminateReason
- the terminateReason value to set
Returns:
the JobTerminateParameter object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java