public static final class DescribeInvocationsRequest.Builder extends Object
public DescribeInvocationsRequest.Builder sourceRegionId(String sourceRegionId)
public DescribeInvocationsRequest.Builder commandId(String commandId)
public DescribeInvocationsRequest.Builder commandName(String commandName)
public DescribeInvocationsRequest.Builder commandType(String commandType)
public DescribeInvocationsRequest.Builder contentEncoding(String contentEncoding)
* PlainText: returns the original command content and command outputs. * Base64: returns the Base64-encoded command content and command outputs. Default value: Base64.
public DescribeInvocationsRequest.Builder includeOutput(Boolean includeOutput)
* true: The command outputs are returned. When this parameter is set to true, you must specify `InvokeId`, `InstanceId`, or both. * false: The command outputs are not returned. Default value: false.
public DescribeInvocationsRequest.Builder instanceId(String instanceId)
public DescribeInvocationsRequest.Builder invokeId(String invokeId)
public DescribeInvocationsRequest.Builder invokeStatus(String invokeStatus)
* Running: * Scheduled execution: Before you manually stop the execution of the command, the overall execution state is always Running. * One-time execution: If the execution is in progress on one or more instances, the overall execution state is Running. * Finished: * Scheduled execution: The overall execution state can never be Finished. * One-time execution: The execution is complete on all instances, or the execution is manually stopped on some instances and is complete on other instances. * Failed: * Scheduled execution: The overall execution state can never be Failed. * One-time execution: The execution fails on all instances. * PartialFailed: * Scheduled execution: The overall execution state can never be PartialFailed. * One-time execution: The execution fails on some instances. * Stopped: The execution is stopped.
public DescribeInvocationsRequest.Builder ownerAccount(String ownerAccount)
public DescribeInvocationsRequest.Builder ownerId(Long ownerId)
public DescribeInvocationsRequest.Builder pageNumber(Long pageNumber)
Page start from page 1. Default value: 1.
public DescribeInvocationsRequest.Builder pageSize(Long pageSize)
Maximum value: 50. Default value: 10.
public DescribeInvocationsRequest.Builder regionId(String regionId)
public DescribeInvocationsRequest.Builder repeatMode(String repeatMode)
* Once: The command is immediately run. * Period: The command is run on a schedule. * NextRebootOnly: The command is automatically run the next time the instance starts. * EveryReboot: The command is automatically run every time the instance starts. This parameter is empty by default, which indicates that commands run in all modes are queried.
public DescribeInvocationsRequest.Builder resourceGroupId(String resourceGroupId)
public DescribeInvocationsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeInvocationsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeInvocationsRequest.Builder tag(List<DescribeInvocationsRequest.Tag> tag)
public DescribeInvocationsRequest.Builder timed(Boolean timed)
* true: queries the commands that meet the following requirements: The commands are run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Period`, `NextRebootOnly`, or `EveryReboot`. The executions of the commands are not canceled and not complete or are not stopped and not complete. * false: queries commands that meet the following requirements: * The commands are run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Once`. * The executions of the commands are canceled, stopped, or complete. Default value: false.
public DescribeInvocationsRequest build()
Copyright © 2023. All rights reserved.