Interface DescribeMapRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMapRunResponse.Builder,
,DescribeMapRunResponse> SdkBuilder<DescribeMapRunResponse.Builder,
,DescribeMapRunResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
DescribeMapRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionexecutionArn
(String executionArn) The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.default DescribeMapRunResponse.Builder
executionCounts
(Consumer<MapRunExecutionCounts.Builder> executionCounts) A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such asfailed
andsucceeded
.executionCounts
(MapRunExecutionCounts executionCounts) A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such asfailed
andsucceeded
.default DescribeMapRunResponse.Builder
itemCounts
(Consumer<MapRunItemCounts.Builder> itemCounts) A JSON object that contains information about the total number of items, and the item count for each processing status, such aspending
andfailed
.itemCounts
(MapRunItemCounts itemCounts) A JSON object that contains information about the total number of items, and the item count for each processing status, such aspending
andfailed
.The Amazon Resource Name (ARN) that identifies a Map Run.maxConcurrency
(Integer maxConcurrency) The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.redriveCount
(Integer redriveCount) The number of times you've redriven a Map Run.redriveDate
(Instant redriveDate) The date a Map Run was last redriven.The date when the Map Run was started.The current status of the Map Run.status
(MapRunStatus status) The current status of the Map Run.The date when the Map Run was stopped.toleratedFailureCount
(Long toleratedFailureCount) The maximum number of failed child workflow executions before the Map Run fails.toleratedFailurePercentage
(Float toleratedFailurePercentage) The maximum percentage of failed child workflow executions before the Map Run fails.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
mapRunArn
The Amazon Resource Name (ARN) that identifies a Map Run.
- Parameters:
mapRunArn
- The Amazon Resource Name (ARN) that identifies a Map Run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionArn
The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.
- Parameters:
executionArn
- The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the Map Run.
- Parameters:
status
- The current status of the Map Run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the Map Run.
- Parameters:
status
- The current status of the Map Run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startDate
The date when the Map Run was started.
- Parameters:
startDate
- The date when the Map Run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopDate
The date when the Map Run was stopped.
- Parameters:
stopDate
- The date when the Map Run was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxConcurrency
The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.
- Parameters:
maxConcurrency
- The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toleratedFailurePercentage
The maximum percentage of failed child workflow executions before the Map Run fails.
- Parameters:
toleratedFailurePercentage
- The maximum percentage of failed child workflow executions before the Map Run fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toleratedFailureCount
The maximum number of failed child workflow executions before the Map Run fails.
- Parameters:
toleratedFailureCount
- The maximum number of failed child workflow executions before the Map Run fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCounts
A JSON object that contains information about the total number of items, and the item count for each processing status, such as
pending
andfailed
.- Parameters:
itemCounts
- A JSON object that contains information about the total number of items, and the item count for each processing status, such aspending
andfailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCounts
A JSON object that contains information about the total number of items, and the item count for each processing status, such as
This is a convenience method that creates an instance of thepending
andfailed
.MapRunItemCounts.Builder
avoiding the need to create one manually viaMapRunItemCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitemCounts(MapRunItemCounts)
.- Parameters:
itemCounts
- a consumer that will call methods onMapRunItemCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionCounts
A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such as
failed
andsucceeded
.- Parameters:
executionCounts
- A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such asfailed
andsucceeded
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionCounts
default DescribeMapRunResponse.Builder executionCounts(Consumer<MapRunExecutionCounts.Builder> executionCounts) A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such as
This is a convenience method that creates an instance of thefailed
andsucceeded
.MapRunExecutionCounts.Builder
avoiding the need to create one manually viaMapRunExecutionCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionCounts(MapRunExecutionCounts)
.- Parameters:
executionCounts
- a consumer that will call methods onMapRunExecutionCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redriveCount
The number of times you've redriven a Map Run. If you have not yet redriven a Map Run, the
redriveCount
is 0. This count is only updated if you successfully redrive a Map Run.- Parameters:
redriveCount
- The number of times you've redriven a Map Run. If you have not yet redriven a Map Run, theredriveCount
is 0. This count is only updated if you successfully redrive a Map Run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redriveDate
The date a Map Run was last redriven. If you have not yet redriven a Map Run, the
redriveDate
is null.- Parameters:
redriveDate
- The date a Map Run was last redriven. If you have not yet redriven a Map Run, theredriveDate
is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-