public InstanceAttribute withDisableApiStop(Boolean disableApiStop) {
        setDisableApiStop(disableApiStop);
        return this;
    }
<p>
To enable the instance for Amazon Web Services Stop Protection, set this parameter to <code>true</code>;
otherwise, set it to <code>false</code>.
</p>

@param disableApiStop
       To enable the instance for Amazon Web Services Stop Protection, set this parameter to <code>true</code>;
       otherwise, set it to <code>false</code>.
@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