Interface ListExecutionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListExecutionsResponse.Builder,ListExecutionsResponse>,SdkBuilder<ListExecutionsResponse.Builder,ListExecutionsResponse>,SdkPojo,SdkResponse.Builder,SnowDeviceManagementResponse.Builder
- Enclosing class:
- ListExecutionsResponse
public static interface ListExecutionsResponse.Builder extends SnowDeviceManagementResponse.Builder, SdkPojo, CopyableBuilder<ListExecutionsResponse.Builder,ListExecutionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListExecutionsResponse.Builderexecutions(Collection<ExecutionSummary> executions)A list of executions.ListExecutionsResponse.Builderexecutions(Consumer<ExecutionSummary.Builder>... executions)A list of executions.ListExecutionsResponse.Builderexecutions(ExecutionSummary... executions)A list of executions.ListExecutionsResponse.BuildernextToken(String nextToken)A pagination token to continue to the next page of executions.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.snowdevicemanagement.model.SnowDeviceManagementResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
executions
ListExecutionsResponse.Builder executions(Collection<ExecutionSummary> executions)
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
- Parameters:
executions- A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executions
ListExecutionsResponse.Builder executions(ExecutionSummary... executions)
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
- Parameters:
executions- A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executions
ListExecutionsResponse.Builder executions(Consumer<ExecutionSummary.Builder>... executions)
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
This is a convenience method that creates an instance of theExecutionSummary.Builderavoiding the need to create one manually viaExecutionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#executions(List.) - Parameters:
executions- a consumer that will call methods onExecutionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#executions(java.util.Collection)
-
nextToken
ListExecutionsResponse.Builder nextToken(String nextToken)
A pagination token to continue to the next page of executions.
- Parameters:
nextToken- A pagination token to continue to the next page of executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-