程序包 | 说明 |
---|---|
com.aliyun.sdk.service.ecs20140526.models |
限定符和类型 | 方法和说明 |
---|---|
static RunCommandRequest.Builder |
RunCommandRequest.builder() |
RunCommandRequest.Builder |
RunCommandRequest.Builder.commandContent(String commandContent)
The content of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.containerId(String containerId)
The ID of the container.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.containerName(String containerName)
The name of the container.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.contentEncoding(String contentEncoding)
The encoding mode of the command content that is specified by the `CommandContent` parameter.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.description(String description)
The description of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.enableParameter(Boolean enableParameter)
Specifies whether to include custom parameters in the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.frequency(String frequency)
The schedule based on which the command is run.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.instanceId(List<String> instanceId)
The ID of instance N on which you want to run the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.keepCommand(Boolean keepCommand)
Specifies whether to retain the command after the command is run.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.name(String name)
The name of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.ownerAccount(String ownerAccount)
OwnerAccount.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.ownerId(Long ownerId)
OwnerId.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.parameters(Map<String,?> parameters)
The key-value pairs of the custom parameters that are passed in when the command includes custom parameters.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.regionId(String regionId)
The ID of the region.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.repeatMode(String repeatMode)
Specifies the mode in which you want to run the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceGroupId(String resourceGroupId)
The ID of the resource group to which you want to assign the command executions.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.sourceRegionId(String sourceRegionId)
SourceRegionId.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.tag(List<RunCommandRequest.Tag> tag)
The tags that you want to add to the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.timed(Boolean timed)
Specifies whether to run the command based on a schedule.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.timeout(Long timeout)
The timeout period for the command execution.
|
RunCommandRequest.Builder |
RunCommandRequest.toBuilder() |
RunCommandRequest.Builder |
RunCommandRequest.Builder.type(String type)
The language type of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.username(String username)
The username that you use to run the command on instances.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.windowsPasswordName(String windowsPasswordName)
The name of the password that you use to run the command on Windows instances.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.workingDir(String workingDir)
The working directory of the command on the instance.
|
Copyright © 2023. All rights reserved.