TaskContainerExecutionInformation Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskContainerExecutionInformation
- com.
public class TaskContainerExecutionInformation
Contains information about the container which a Task is executing.
Constructor Summary
Constructor | Description | |
---|---|---|
TaskContainerExecutionInformation() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
containerId()
Get the container |
String |
error()
Get this is the detailed error string from the Docker service, if available. |
String |
state()
Get this is the state of the container according to the Docker service. |
Task |
withContainerId(String containerId)
Set the container |
Task |
withError(String error)
Set this is the detailed error string from the Docker service, if available. |
Task |
withState(String state)
Set this is the state of the container according to the Docker service. |
Methods inherited from java.lang.Object
Constructor Details
TaskContainerExecutionInformation
public TaskContainerExecutionInformation()
Method Details
containerId
public String containerId()
Get the containerId value.
Returns:
error
public String error()
Get this is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by "docker inspect".
Returns:
state
public String state()
Get this is the state of the container according to the Docker service. It is equivalent to the status field returned by "docker inspect".
Returns:
withContainerId
public TaskContainerExecutionInformation withContainerId(String containerId)
Set the containerId value.
Parameters:
Returns:
withError
public TaskContainerExecutionInformation withError(String error)
Set this is the detailed error string from the Docker service, if available. It is equivalent to the error field returned by "docker inspect".
Parameters:
Returns:
withState
public TaskContainerExecutionInformation withState(String state)
Set this is the state of the container according to the Docker service. It is equivalent to the status field returned by "docker inspect".
Parameters:
Returns:
Applies to
Azure SDK for Java