public class ModifyCommandRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
commandContent
This parameter is no longer used and does not take effect.
|
String |
commandId
The command ID.
|
String |
description
The command description.
|
String |
launcher |
String |
name
The command name.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the command.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Long |
timeout
The maximum timeout period for the command to be run on the instance.
|
String |
workingDir
The working directory of the command.
|
构造器和说明 |
---|
ModifyCommandRequest() |
@NameInMap(value="CommandContent") public String commandContent
example:This parameter is no longer used and does not take effect.
echo
@NameInMap(value="CommandId") public String commandId
The command ID. You can call the DescribeCommands operation to query all available command IDs.
This parameter is required.
example:c-hz01272yr52****
@NameInMap(value="Description") public String description
The command description. The description supports all character sets and can be up to 512 characters in length.
example:This is description.
@NameInMap(value="Launcher") public String launcher
@NameInMap(value="Name") public String name
The command name. The name supports all character sets and can be up to 128 characters in length.
example:test-CommandName
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the command. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Timeout") public Long timeout
The maximum timeout period for the command to be run on the instance. Unit: seconds. When a command cannot run within the specified time range, the command times out. Then, the command process is forcibly terminated by canceling the process ID (PID) of the command.
example:120
@NameInMap(value="WorkingDir") public String workingDir
The working directory of the command. The value can be up to 200 characters in length.
example:/home/
public static ModifyCommandRequest build(Map<String,?> map) throws Exception
Exception
public ModifyCommandRequest setCommandContent(String commandContent)
public String getCommandContent()
public ModifyCommandRequest setCommandId(String commandId)
public String getCommandId()
public ModifyCommandRequest setDescription(String description)
public String getDescription()
public ModifyCommandRequest setLauncher(String launcher)
public String getLauncher()
public ModifyCommandRequest setName(String name)
public String getName()
public ModifyCommandRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyCommandRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyCommandRequest setRegionId(String regionId)
public String getRegionId()
public ModifyCommandRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyCommandRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyCommandRequest setTimeout(Long timeout)
public Long getTimeout()
public ModifyCommandRequest setWorkingDir(String workingDir)
public String getWorkingDir()
Copyright © 2024. All rights reserved.