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.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
containerId()
Get the containerId value. |
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". |
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". |
Task |
withContainerId(String containerId)
Set the containerId value. |
Task |
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". |
Task |
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". |
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