Interface ListCommandExecutionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListCommandExecutionsRequest.Builder,ListCommandExecutionsRequest>,IotRequest.Builder,SdkBuilder<ListCommandExecutionsRequest.Builder,ListCommandExecutionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListCommandExecutionsRequest
public static interface ListCommandExecutionsRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<ListCommandExecutionsRequest.Builder,ListCommandExecutionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListCommandExecutionsRequest.BuildercommandArn(String commandArn)The Amazon Resource Number (ARN) of the command.default ListCommandExecutionsRequest.BuildercompletedTimeFilter(Consumer<TimeFilter.Builder> completedTimeFilter)List all command executions that completed any time before or after the date and time that you specify.ListCommandExecutionsRequest.BuildercompletedTimeFilter(TimeFilter completedTimeFilter)List all command executions that completed any time before or after the date and time that you specify.ListCommandExecutionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in this operation.ListCommandExecutionsRequest.Buildernamespace(String namespace)The namespace of the command.ListCommandExecutionsRequest.Buildernamespace(CommandNamespace namespace)The namespace of the command.ListCommandExecutionsRequest.BuildernextToken(String nextToken)To retrieve the next set of results, thenextTokenvalue from a previous response; otherwisenullto receive the first set of results.ListCommandExecutionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListCommandExecutionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListCommandExecutionsRequest.BuildersortOrder(String sortOrder)Specify whether to list the command executions that were created in the ascending or descending order.ListCommandExecutionsRequest.BuildersortOrder(SortOrder sortOrder)Specify whether to list the command executions that were created in the ascending or descending order.default ListCommandExecutionsRequest.BuilderstartedTimeFilter(Consumer<TimeFilter.Builder> startedTimeFilter)List all command executions that started any time before or after the date and time that you specify.ListCommandExecutionsRequest.BuilderstartedTimeFilter(TimeFilter startedTimeFilter)List all command executions that started any time before or after the date and time that you specify.ListCommandExecutionsRequest.Builderstatus(String status)List all command executions for the device that have a particular status.ListCommandExecutionsRequest.Builderstatus(CommandExecutionStatus status)List all command executions for the device that have a particular status.ListCommandExecutionsRequest.BuildertargetArn(String targetArn)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 Detail
-
maxResults
ListCommandExecutionsRequest.Builder maxResults(Integer 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
ListCommandExecutionsRequest.Builder nextToken(String nextToken)
To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwisenullto receive the first set of results.- Parameters:
nextToken- To retrieve the next set of results, thenextTokenvalue from a previous response; otherwisenullto receive the first set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
ListCommandExecutionsRequest.Builder namespace(String 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:
CommandNamespace,CommandNamespace
-
namespace
ListCommandExecutionsRequest.Builder namespace(CommandNamespace 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:
CommandNamespace,CommandNamespace
-
status
ListCommandExecutionsRequest.Builder status(String 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:
CommandExecutionStatus,CommandExecutionStatus
-
status
ListCommandExecutionsRequest.Builder status(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.
- 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:
CommandExecutionStatus,CommandExecutionStatus
-
sortOrder
ListCommandExecutionsRequest.Builder sortOrder(String 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
startTimeFilterandcompleteTimeFilterparameters.- 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 thestartTimeFilterandcompleteTimeFilterparameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortOrder,SortOrder
-
sortOrder
ListCommandExecutionsRequest.Builder sortOrder(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
startTimeFilterandcompleteTimeFilterparameters.- 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 thestartTimeFilterandcompleteTimeFilterparameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortOrder,SortOrder
-
startedTimeFilter
ListCommandExecutionsRequest.Builder startedTimeFilter(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.- 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.Builderavoiding the need to create one manually viaTimeFilter.builder().When the
Consumercompletes,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:
startedTimeFilter(TimeFilter)
-
completedTimeFilter
ListCommandExecutionsRequest.Builder completedTimeFilter(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.- 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.Builderavoiding the need to create one manually viaTimeFilter.builder().When the
Consumercompletes,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:
completedTimeFilter(TimeFilter)
-
targetArn
ListCommandExecutionsRequest.Builder targetArn(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.
- 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
ListCommandExecutionsRequest.Builder commandArn(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListCommandExecutionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-