public void setSkipMatching(Boolean skipMatching) {
        this.skipMatching = skipMatching;
    }
<p>
(Optional) Indicates whether skip matching is enabled. If enabled (<code>true</code>), then Amazon EC2 Auto
Scaling skips replacing instances that match the desired configuration. If no desired configuration is specified,
then it skips replacing instances that have the same launch template and instance types that the Auto Scaling
group was using before the start of the instance refresh. The default is <code>false</code>.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh-skip-matching.html">Use an
instance refresh with skip matching</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
</p>

@param skipMatching
       (Optional) Indicates whether skip matching is enabled. If enabled (<code>true</code>), then Amazon EC2
       Auto Scaling skips replacing instances that match the desired configuration. If no desired configuration
       is specified, then it skips replacing instances that have the same launch template and instance types that
       the Auto Scaling group was using before the start of the instance refresh. The default is
       <code>false</code>.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh-skip-matching.html">Use
       an instance refresh with skip matching</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/RefreshPreferences.java