public void setDesiredConfiguration(DesiredConfiguration desiredConfiguration) {
        this.desiredConfiguration = desiredConfiguration;
    }
<p>
The desired configuration. For example, the desired configuration can specify a new launch template or a new
version of the current launch template.
</p>
<p>
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to
reflect the new desired configuration.
</p>
<note>
<p>
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the <code>SkipMatching</code> property in preferences. If it's enabled, Amazon
EC2 Auto Scaling skips replacing instances that already use the specified launch template and instance types.
This can help you reduce the number of replacements that are required to apply updates.
</p>
</note>

@param desiredConfiguration
       The desired configuration. For example, the desired configuration can specify a new launch template or a
       new version of the current launch template.</p>
       <p>
       Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group
       to reflect the new desired configuration.
       </p>
       <note>
       <p>
       When you specify a new launch template or a new version of the current launch template for your desired
       configuration, consider enabling the <code>SkipMatching</code> property in preferences. If it's enabled,
       Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and
       instance types. This can help you reduce the number of replacements that are required to apply updates.
       </p>
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/StartInstanceRefreshRequest.java