public static final class DescribeInvocationResultsRequest.Builder extends Object
public DescribeInvocationResultsRequest.Builder sourceRegionId(String sourceRegionId)
public DescribeInvocationResultsRequest.Builder commandId(String commandId)
public DescribeInvocationResultsRequest.Builder contentEncoding(String contentEncoding)
* PlainText: returns the original command content and command output. * Base64: returns the Base64-encoded command content and command output. Default value: Base64.
public DescribeInvocationResultsRequest.Builder includeHistory(Boolean includeHistory)
* true: returns the results of historical scheduled executions. If you set this parameter to true, you must set InvokeId to the ID of a task that is run on a schedule (RepeatMode set to Period) or on each system startup (RepeatMode set to EveryReboot). * false: does not return the results of historical scheduled executions. Default value: false.
public DescribeInvocationResultsRequest.Builder instanceId(String instanceId)
public DescribeInvocationResultsRequest.Builder invokeId(String invokeId)
public DescribeInvocationResultsRequest.Builder invokeRecordStatus(String invokeRecordStatus)
* Running: * Scheduled task: Before you stop the scheduled execution of the command, the execution state is always Running. * One-time task: If the command is being run on instances, the execution state is Running. * Finished: * Scheduled task: The execution state can never be Finished. * One-time task: The execution is complete on all instances, or the execution is stopped on some instances and is complete on the other instances. * Success: * One-time task: The execution is complete, and the exit code is 0. * Scheduled task: The last execution is complete, the exit code is 0, and the specified period ends. * Failed: * Scheduled task: The execution state can never be Failed. * One-time task: The execution fails on all instances. * PartialFailed: * Scheduled task: The execution state can never be PartialFailed. * One-time task: The execution fails on some instances. * Stopped: The task is stopped. * Stopping: The task is being stopped.
public DescribeInvocationResultsRequest.Builder maxResults(Integer maxResults)
Valid values: 1 to 50. Default value: 10.
public DescribeInvocationResultsRequest.Builder nextToken(String nextToken)
public DescribeInvocationResultsRequest.Builder ownerAccount(String ownerAccount)
public DescribeInvocationResultsRequest.Builder ownerId(Long ownerId)
public DescribeInvocationResultsRequest.Builder pageNumber(Long pageNumber)
Pages start from page 1. Default value: 1.
public DescribeInvocationResultsRequest.Builder pageSize(Long pageSize)
Valid values: 1 to 50. Default value: 10.
public DescribeInvocationResultsRequest.Builder regionId(String regionId)
public DescribeInvocationResultsRequest.Builder resourceGroupId(String resourceGroupId)
public DescribeInvocationResultsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeInvocationResultsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeInvocationResultsRequest.Builder tag(List<DescribeInvocationResultsRequest.Tag> tag)
public DescribeInvocationResultsRequest build()
Copyright © 2024. All rights reserved.