Interface ListCommandExecutionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListCommandExecutionsRequest.Builder,
,ListCommandExecutionsRequest> IotRequest.Builder
,SdkBuilder<ListCommandExecutionsRequest.Builder,
,ListCommandExecutionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCommandExecutionsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncommandArn
(String commandArn) The Amazon Resource Number (ARN) of the command.completedTimeFilter
(Consumer<TimeFilter.Builder> completedTimeFilter) List all command executions that completed any time before or after the date and time that you specify.completedTimeFilter
(TimeFilter completedTimeFilter) List all command executions that completed any time before or after the date and time that you specify.maxResults
(Integer maxResults) The maximum number of results to return in this operation.The namespace of the command.namespace
(CommandNamespace namespace) The namespace of the command.To retrieve the next set of results, thenextToken
value from a previous response; otherwisenull
to receive the first set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specify whether to list the command executions that were created in the ascending or descending order.Specify whether to list the command executions that were created in the ascending or descending order.startedTimeFilter
(Consumer<TimeFilter.Builder> startedTimeFilter) List all command executions that started any time before or after the date and time that you specify.startedTimeFilter
(TimeFilter startedTimeFilter) List all command executions that started any time before or after the date and time that you specify.List all command executions for the device that have a particular status.status
(CommandExecutionStatus status) List all command executions for the device that have a particular status.The Amazon Resource Number (ARN) of the target device.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 Details
-
maxResults
The maximum number of results to return in this operation.
- Parameters:
maxResults
- The maximum number of results to return in this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The namespace of the command.
- Parameters:
namespace
- The namespace of the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the command.
- Parameters:
namespace
- The namespace of the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
andcompleteTimeFilter
parameters.- Parameters:
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 thestartTimeFilter
andcompleteTimeFilter
parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
andcompleteTimeFilter
parameters.- Parameters:
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 thestartTimeFilter
andcompleteTimeFilter
parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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 formatyyyy-MM-dd'T'HH:mm
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedTimeFilter
default ListCommandExecutionsRequest.Builder startedTimeFilter(Consumer<TimeFilter.Builder> 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
This is a convenience method that creates an instance of theyyyy-MM-dd'T'HH:mm
.TimeFilter.Builder
avoiding the need to create one manually viaTimeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartedTimeFilter(TimeFilter)
.- Parameters:
startedTimeFilter
- a consumer that will call methods onTimeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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 formatyyyy-MM-dd'T'HH:mm
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedTimeFilter
default ListCommandExecutionsRequest.Builder completedTimeFilter(Consumer<TimeFilter.Builder> 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
This is a convenience method that creates an instance of theyyyy-MM-dd'T'HH:mm
.TimeFilter.Builder
avoiding the need to create one manually viaTimeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompletedTimeFilter(TimeFilter)
.- Parameters:
completedTimeFilter
- a consumer that will call methods onTimeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetArn
The Amazon Resource Number (ARN) of the target device. You can use this information to list all command executions for a particular device.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
commandArn
The Amazon Resource Number (ARN) of the command. You can use this information to list all command executions for a particular command.
- Parameters:
commandArn
- The Amazon Resource Number (ARN) of the command. You can use this information to list all command executions for a particular command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCommandExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListCommandExecutionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-