Interface ListCommandsRequest.Builder

    • Method Detail

      • maxResults

        ListCommandsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return in this operation. By default, the API returns up to a maximum of 25 results. You can override this default value to return up to a maximum of 100 results for this operation.

        Parameters:
        maxResults - The maximum number of results to return in this operation. By default, the API returns up to a maximum of 25 results. You can override this default value to return up to a maximum of 100 results for this operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListCommandsRequest.Builder nextToken​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • namespace

        ListCommandsRequest.Builder namespace​(String namespace)

        The namespace of the command. By default, the API returns all commands that have been created for both AWS-IoT and AWS-IoT-FleetWise namespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace.

        Parameters:
        namespace - The namespace of the command. By default, the API returns all commands that have been created for both AWS-IoT and AWS-IoT-FleetWise namespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CommandNamespace, CommandNamespace
      • namespace

        ListCommandsRequest.Builder namespace​(CommandNamespace namespace)

        The namespace of the command. By default, the API returns all commands that have been created for both AWS-IoT and AWS-IoT-FleetWise namespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace.

        Parameters:
        namespace - The namespace of the command. By default, the API returns all commands that have been created for both AWS-IoT and AWS-IoT-FleetWise namespaces. You can override this default value if you want to return all commands that have been created only for a specific namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CommandNamespace, CommandNamespace
      • commandParameterName

        ListCommandsRequest.Builder commandParameterName​(String commandParameterName)

        A filter that can be used to display the list of commands that have a specific command parameter name.

        Parameters:
        commandParameterName - A filter that can be used to display the list of commands that have a specific command parameter name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortOrder

        ListCommandsRequest.Builder sortOrder​(String sortOrder)

        Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.

        Parameters:
        sortOrder - Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        ListCommandsRequest.Builder sortOrder​(SortOrder sortOrder)

        Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.

        Parameters:
        sortOrder - Specify whether to list the commands that you have created in the ascending or descending order. By default, the API returns all commands in the descending order based on the time that they were created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder