ContainerExecRequest Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerExecRequest
- com.
Implements
public final class ContainerExecRequest
implements JsonSerializable<ContainerExecRequest>
The container exec request.
Constructor | Description |
---|---|
Container |
Creates an instance of Container |
Modifier and Type | Method and Description |
---|---|
String |
command()
Get the command property: The command to be executed. |
static
Container |
from Reads an instance of Container |
Container |
terminal Get the terminal |
Json |
to |
void |
validate()
Validates the instance. |
Container |
with Set the command property: The command to be executed. |
Container |
with Set the terminal |
Methods inherited from java.lang.Object
ContainerExecRequest
public ContainerExecRequest()
Creates an instance of ContainerExecRequest class.
command
public String command()
Get the command property: The command to be executed.
Returns:
fromJson
public static ContainerExecRequest fromJson(JsonReader jsonReader)
Reads an instance of ContainerExecRequest from the JsonReader.
Parameters:
Returns:
Throws:
terminalSize
public ContainerExecRequestTerminalSize terminalSize()
Get the terminalSize property: The size of the terminal.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCommand
public ContainerExecRequest withCommand(String command)
Set the command property: The command to be executed.
Parameters:
Returns:
withTerminalSize
public ContainerExecRequest withTerminalSize(ContainerExecRequestTerminalSize terminalSize)
Set the terminalSize property: The size of the terminal.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: