Interface WorkflowMetrics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkflowMetrics.Builder,,WorkflowMetrics> SdkBuilder<WorkflowMetrics.Builder,,WorkflowMetrics> SdkPojo
- Enclosing class:
WorkflowMetrics
public static interface WorkflowMetrics.Builder
extends SdkPojo, CopyableBuilder<WorkflowMetrics.Builder,WorkflowMetrics>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkflowMetrics.BuilderappflowIntegration(Consumer<AppflowIntegrationWorkflowMetrics.Builder> appflowIntegration) Workflow execution metrics forAPPFLOW_INTEGRATIONworkflow.appflowIntegration(AppflowIntegrationWorkflowMetrics appflowIntegration) Workflow execution metrics forAPPFLOW_INTEGRATIONworkflow.Methods 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, sdkFields
-
Method Details
-
appflowIntegration
Workflow execution metrics for
APPFLOW_INTEGRATIONworkflow.- Parameters:
appflowIntegration- Workflow execution metrics forAPPFLOW_INTEGRATIONworkflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appflowIntegration
default WorkflowMetrics.Builder appflowIntegration(Consumer<AppflowIntegrationWorkflowMetrics.Builder> appflowIntegration) Workflow execution metrics for
This is a convenience method that creates an instance of theAPPFLOW_INTEGRATIONworkflow.AppflowIntegrationWorkflowMetrics.Builderavoiding the need to create one manually viaAppflowIntegrationWorkflowMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappflowIntegration(AppflowIntegrationWorkflowMetrics).- Parameters:
appflowIntegration- a consumer that will call methods onAppflowIntegrationWorkflowMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-