public AutoScalingGroup withInstanceMaintenancePolicy(InstanceMaintenancePolicy instanceMaintenancePolicy) {
        setInstanceMaintenancePolicy(instanceMaintenancePolicy);
        return this;
    }
<p>
An instance maintenance policy.
</p>

@param instanceMaintenancePolicy
       An instance maintenance policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/AutoScalingGroup.java