Interface ListCommandsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
,IotRequest.Builder
,SdkBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListCommandsRequest
public static interface ListCommandsRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCommandsRequest.Builder
commandParameterName(String commandParameterName)
A filter that can be used to display the list of commands that have a specific command parameter name.ListCommandsRequest.Builder
maxResults(Integer maxResults)
The maximum number of results to return in this operation.ListCommandsRequest.Builder
namespace(String namespace)
The namespace of the command.ListCommandsRequest.Builder
namespace(CommandNamespace namespace)
The namespace of the command.ListCommandsRequest.Builder
nextToken(String nextToken)
To retrieve the next set of results, thenextToken
value from a previous response; otherwisenull
to receive the first set of results.ListCommandsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListCommandsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ListCommandsRequest.Builder
sortOrder(String sortOrder)
Specify whether to list the commands that you have created in the ascending or descending order.ListCommandsRequest.Builder
sortOrder(SortOrder sortOrder)
Specify whether to list the commands that you have created in the ascending or descending order.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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; otherwisenull
to receive the first set of results.- Parameters:
nextToken
- To retrieve the next set of results, thenextToken
value from a previous response; otherwisenull
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
andAWS-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 bothAWS-IoT
andAWS-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
andAWS-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 bothAWS-IoT
andAWS-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
-
overrideConfiguration
ListCommandsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListCommandsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-