Interface SendAutomationSignalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SendAutomationSignalRequest.Builder,
,SendAutomationSignalRequest> SdkBuilder<SendAutomationSignalRequest.Builder,
,SendAutomationSignalRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
SendAutomationSignalRequest
-
Method Summary
Modifier and TypeMethodDescriptionautomationExecutionId
(String automationExecutionId) The unique identifier for an existing Automation execution that you want to send the signal to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.payload
(Map<String, ? extends Collection<String>> payload) The data sent with the signal.signalType
(String signalType) The type of signal to send to an Automation execution.signalType
(SignalType signalType) The type of signal to send to an Automation execution.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
automationExecutionId
The unique identifier for an existing Automation execution that you want to send the signal to.
- Parameters:
automationExecutionId
- The unique identifier for an existing Automation execution that you want to send the signal to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalType
The type of signal to send to an Automation execution.
- Parameters:
signalType
- The type of signal to send to an Automation execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signalType
The type of signal to send to an Automation execution.
- Parameters:
signalType
- The type of signal to send to an Automation execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payload
The data sent with the signal. The data schema depends on the type of signal used in the request.
For
Approve
andReject
signal types, the payload is an optional comment that you can send with the signal type. For example:Comment="Looks good"
For
StartStep
andResume
signal types, you must send the name of the Automation step to start or resume as the payload. For example:StepName="step1"
For the
StopStep
signal type, you must send the step execution ID as the payload. For example:StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"
- Parameters:
payload
- The data sent with the signal. The data schema depends on the type of signal used in the request.For
Approve
andReject
signal types, the payload is an optional comment that you can send with the signal type. For example:Comment="Looks good"
For
StartStep
andResume
signal types, you must send the name of the Automation step to start or resume as the payload. For example:StepName="step1"
For the
StopStep
signal type, you must send the step execution ID as the payload. For example:StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendAutomationSignalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendAutomationSignalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-