public void setProtectedFromScaleIn(Boolean protectedFromScaleIn) {
        this.protectedFromScaleIn = protectedFromScaleIn;
    }
<p>
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
</p>

@param protectedFromScaleIn
       Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/AutoScalingInstanceDetails.java