com.microsoft.azure.management.containerinstance.ContainerExecRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-containerinstance Show documentation
Show all versions of azure-mgmt-containerinstance Show documentation
This package contains Microsoft Azure Container Instance SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-containerinstance is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerinstance;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The container exec request.
*/
public class ContainerExecRequest {
/**
* The command to be executed.
*/
@JsonProperty(value = "command")
private String command;
/**
* The size of the terminal.
*/
@JsonProperty(value = "terminalSize")
private ContainerExecRequestTerminalSize terminalSize;
/**
* Get the command to be executed.
*
* @return the command value
*/
public String command() {
return this.command;
}
/**
* Set the command to be executed.
*
* @param command the command value to set
* @return the ContainerExecRequest object itself.
*/
public ContainerExecRequest withCommand(String command) {
this.command = command;
return this;
}
/**
* Get the size of the terminal.
*
* @return the terminalSize value
*/
public ContainerExecRequestTerminalSize terminalSize() {
return this.terminalSize;
}
/**
* Set the size of the terminal.
*
* @param terminalSize the terminalSize value to set
* @return the ContainerExecRequest object itself.
*/
public ContainerExecRequest withTerminalSize(ContainerExecRequestTerminalSize terminalSize) {
this.terminalSize = terminalSize;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy