public InstanceAttribute withDisableApiTermination(Boolean disableApiTermination) {
        setDisableApiTermination(disableApiTermination);
        return this;
    }
<p>
If the value is <code>true</code>, you can't terminate the instance through the Amazon EC2 console, CLI, or API;
otherwise, you can.
</p>

@param disableApiTermination
       If the value is <code>true</code>, you can't terminate the instance through the Amazon EC2 console, CLI,
       or API; otherwise, you can.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceAttribute.java