Interface DescribeFlowExecutionRecordsResponse.Builder
- All Superinterfaces:
AppflowResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFlowExecutionRecordsResponse.Builder,,DescribeFlowExecutionRecordsResponse> SdkBuilder<DescribeFlowExecutionRecordsResponse.Builder,,DescribeFlowExecutionRecordsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeFlowExecutionRecordsResponse
@Mutable
@NotThreadSafe
public static interface DescribeFlowExecutionRecordsResponse.Builder
extends AppflowResponse.Builder, SdkPojo, CopyableBuilder<DescribeFlowExecutionRecordsResponse.Builder,DescribeFlowExecutionRecordsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionflowExecutions(Collection<ExecutionRecord> flowExecutions) Returns a list of all instances when this flow was run.flowExecutions(Consumer<ExecutionRecord.Builder>... flowExecutions) Returns a list of all instances when this flow was run.flowExecutions(ExecutionRecord... flowExecutions) Returns a list of all instances when this flow was run.The pagination token for the next page of data.Methods inherited from interface software.amazon.awssdk.services.appflow.model.AppflowResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
flowExecutions
DescribeFlowExecutionRecordsResponse.Builder flowExecutions(Collection<ExecutionRecord> flowExecutions) Returns a list of all instances when this flow was run.
- Parameters:
flowExecutions- Returns a list of all instances when this flow was run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutions
Returns a list of all instances when this flow was run.
- Parameters:
flowExecutions- Returns a list of all instances when this flow was run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutions
DescribeFlowExecutionRecordsResponse.Builder flowExecutions(Consumer<ExecutionRecord.Builder>... flowExecutions) Returns a list of all instances when this flow was run.
This is a convenience method that creates an instance of theExecutionRecord.Builderavoiding the need to create one manually viaExecutionRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflowExecutions(List<ExecutionRecord>).- Parameters:
flowExecutions- a consumer that will call methods onExecutionRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token for the next page of data.
- Parameters:
nextToken- The pagination token for the next page of data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-