public final class ContainerExecRequest extends Object
| Constructor and Description |
|---|
ContainerExecRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
command()
Get the command property: The command to be executed.
|
ContainerExecRequestTerminalSize |
terminalSize()
Get the terminalSize property: The size of the terminal.
|
void |
validate()
Validates the instance.
|
ContainerExecRequest |
withCommand(String command)
Set the command property: The command to be executed.
|
ContainerExecRequest |
withTerminalSize(ContainerExecRequestTerminalSize terminalSize)
Set the terminalSize property: The size of the terminal.
|
public String command()
public ContainerExecRequest withCommand(String command)
command - the command value to set.public ContainerExecRequestTerminalSize terminalSize()
public ContainerExecRequest withTerminalSize(ContainerExecRequestTerminalSize terminalSize)
terminalSize - the terminalSize value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.