Interface ExecutionPreview.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecutionPreview.Builder,ExecutionPreview>
,SdkBuilder<ExecutionPreview.Builder,ExecutionPreview>
,SdkPojo
- Enclosing class:
- ExecutionPreview
public static interface ExecutionPreview.Builder extends SdkPojo, CopyableBuilder<ExecutionPreview.Builder,ExecutionPreview>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExecutionPreview.Builder
automation(Consumer<AutomationExecutionPreview.Builder> automation)
Information about the changes that would be made if an Automation workflow were run.ExecutionPreview.Builder
automation(AutomationExecutionPreview automation)
Information about the changes that would be made if an Automation workflow were run.-
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
-
-
-
-
Method Detail
-
automation
ExecutionPreview.Builder automation(AutomationExecutionPreview automation)
Information about the changes that would be made if an Automation workflow were run.
- Parameters:
automation
- Information about the changes that would be made if an Automation workflow were run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automation
default ExecutionPreview.Builder automation(Consumer<AutomationExecutionPreview.Builder> automation)
Information about the changes that would be made if an Automation workflow were run.
This is a convenience method that creates an instance of theAutomationExecutionPreview.Builder
avoiding the need to create one manually viaAutomationExecutionPreview.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomation(AutomationExecutionPreview)
.- Parameters:
automation
- a consumer that will call methods onAutomationExecutionPreview.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
automation(AutomationExecutionPreview)
-
-