Class ListCommandExecutionsRequest

    • Method Detail

      • maxResults

        public final Integer maxResults()

        The maximum number of results to return in this operation.

        Returns:
        The maximum number of results to return in this operation.
      • nextToken

        public final String nextToken()

        To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

        Returns:
        To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
      • status

        public final CommandExecutionStatus status()

        List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.

        If the service returns an enum value that is not available in the current SDK version, status will return CommandExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.
        See Also:
        CommandExecutionStatus
      • statusAsString

        public final String statusAsString()

        List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.

        If the service returns an enum value that is not available in the current SDK version, status will return CommandExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        List all command executions for the device that have a particular status. For example, you can filter the list to display only command executions that have failed or timed out.
        See Also:
        CommandExecutionStatus
      • sortOrder

        public final SortOrder sortOrder()

        Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.

        If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

        Returns:
        Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.
        See Also:
        SortOrder
      • sortOrderAsString

        public final String sortOrderAsString()

        Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.

        If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

        Returns:
        Specify whether to list the command executions that were created in the ascending or descending order. By default, the API returns all commands in the descending order based on the start time or completion time of the executions, that are determined by the startTimeFilter and completeTimeFilter parameters.
        See Also:
        SortOrder
      • startedTimeFilter

        public final TimeFilter startedTimeFilter()

        List all command executions that started any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.

        Returns:
        List all command executions that started any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.
      • completedTimeFilter

        public final TimeFilter completedTimeFilter()

        List all command executions that completed any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.

        Returns:
        List all command executions that completed any time before or after the date and time that you specify. The date and time uses the format yyyy-MM-dd'T'HH:mm.
      • targetArn

        public final String targetArn()

        The Amazon Resource Number (ARN) of the target device. You can use this information to list all command executions for a particular device.

        Returns:
        The Amazon Resource Number (ARN) of the target device. You can use this information to list all command executions for a particular device.
      • commandArn

        public final String commandArn()

        The Amazon Resource Number (ARN) of the command. You can use this information to list all command executions for a particular command.

        Returns:
        The Amazon Resource Number (ARN) of the command. You can use this information to list all command executions for a particular command.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object