Interface StartExecutionPreviewRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartExecutionPreviewRequest.Builder,StartExecutionPreviewRequest>,SdkBuilder<StartExecutionPreviewRequest.Builder,StartExecutionPreviewRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- StartExecutionPreviewRequest
@Mutable @NotThreadSafe public static interface StartExecutionPreviewRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<StartExecutionPreviewRequest.Builder,StartExecutionPreviewRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartExecutionPreviewRequest.BuilderdocumentName(String documentName)The name of the Automation runbook to run.StartExecutionPreviewRequest.BuilderdocumentVersion(String documentVersion)The version of the Automation runbook to run.default StartExecutionPreviewRequest.BuilderexecutionInputs(Consumer<ExecutionInputs.Builder> executionInputs)Information about the inputs that can be specified for the preview operation.StartExecutionPreviewRequest.BuilderexecutionInputs(ExecutionInputs executionInputs)Information about the inputs that can be specified for the preview operation.StartExecutionPreviewRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartExecutionPreviewRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
documentName
StartExecutionPreviewRequest.Builder documentName(String documentName)
The name of the Automation runbook to run. The result of the execution preview indicates what the impact would be of running this runbook.
- Parameters:
documentName- The name of the Automation runbook to run. The result of the execution preview indicates what the impact would be of running this runbook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
StartExecutionPreviewRequest.Builder documentVersion(String documentVersion)
The version of the Automation runbook to run. The default value is
$DEFAULT.- Parameters:
documentVersion- The version of the Automation runbook to run. The default value is$DEFAULT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionInputs
StartExecutionPreviewRequest.Builder executionInputs(ExecutionInputs executionInputs)
Information about the inputs that can be specified for the preview operation.
- Parameters:
executionInputs- Information about the inputs that can be specified for the preview operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionInputs
default StartExecutionPreviewRequest.Builder executionInputs(Consumer<ExecutionInputs.Builder> executionInputs)
Information about the inputs that can be specified for the preview operation.
This is a convenience method that creates an instance of theExecutionInputs.Builderavoiding the need to create one manually viaExecutionInputs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionInputs(ExecutionInputs).- Parameters:
executionInputs- a consumer that will call methods onExecutionInputs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
executionInputs(ExecutionInputs)
-
overrideConfiguration
StartExecutionPreviewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartExecutionPreviewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-