public RemoveTargetsRequest withForce(Boolean force) {
        setForce(force);
        return this;
    }
<p>
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
<code>Force</code> as <code>True</code> to remove targets. This parameter is ignored for rules that are not
managed rules. You can check whether a rule is a managed rule by using <code>DescribeRule</code> or
<code>ListRules</code> and checking the <code>ManagedBy</code> field of the response.
</p>

@param force
       If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
       <code>Force</code> as <code>True</code> to remove targets. This parameter is ignored for rules that are
       not managed rules. You can check whether a rule is a managed rule by using <code>DescribeRule</code> or
       <code>ListRules</code> and checking the <code>ManagedBy</code> field of the response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/RemoveTargetsRequest.java