public Target withRunCommandParameters(RunCommandParameters runCommandParameters) {
        setRunCommandParameters(runCommandParameters);
        return this;
    }
<p>
Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
</p>

@param runCommandParameters
       Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java