Interface ListCommandExecutionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCommandExecutionsResponse.Builder,ListCommandExecutionsResponse>,IotResponse.Builder,SdkBuilder<ListCommandExecutionsResponse.Builder,ListCommandExecutionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCommandExecutionsResponse
public static interface ListCommandExecutionsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListCommandExecutionsResponse.Builder,ListCommandExecutionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCommandExecutionsResponse.BuildercommandExecutions(Collection<CommandExecutionSummary> commandExecutions)The list of command executions.ListCommandExecutionsResponse.BuildercommandExecutions(Consumer<CommandExecutionSummary.Builder>... commandExecutions)The list of command executions.ListCommandExecutionsResponse.BuildercommandExecutions(CommandExecutionSummary... commandExecutions)The list of command executions.ListCommandExecutionsResponse.BuildernextToken(String nextToken)The token to use to get the next set of results, ornullif there are no additional results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
commandExecutions
ListCommandExecutionsResponse.Builder commandExecutions(Collection<CommandExecutionSummary> commandExecutions)
The list of command executions.
- Parameters:
commandExecutions- The list of command executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutions
ListCommandExecutionsResponse.Builder commandExecutions(CommandExecutionSummary... commandExecutions)
The list of command executions.
- Parameters:
commandExecutions- The list of command executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutions
ListCommandExecutionsResponse.Builder commandExecutions(Consumer<CommandExecutionSummary.Builder>... commandExecutions)
The list of command executions.
This is a convenience method that creates an instance of theCommandExecutionSummary.Builderavoiding the need to create one manually viaCommandExecutionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#commandExecutions(List.) - Parameters:
commandExecutions- a consumer that will call methods onCommandExecutionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#commandExecutions(java.util.Collection)
-
nextToken
ListCommandExecutionsResponse.Builder nextToken(String nextToken)
The token to use to get the next set of results, or
nullif there are no additional results.- Parameters:
nextToken- The token to use to get the next set of results, ornullif there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-